The Atlassian Extension Spaces have been migrated to http://plugins.atlassian.com. These pages are now deprecated and will soon be deleted.

Mercurial Plugin

Name Mercurial Plugin
Author(s) Matt Doar, Mihai Ibanescu, numerous others
Homepage Atlassian Plugins, Consulting Toolsmiths
Price Free
License LGPLv2
Download JAR
IssueTracking Jira Mercurial Plugin (this is where to submit bugs or feature requests)
Download Source svn co https://svn.atlassian.com/svn/public/contrib/jira/mercurial-jira-plugin
Browse Source http://svn.atlassian.com/fisheye/browse/public/contrib/jira/mercurial-jira-plugin

Description/Features

This plugin is based on the Subversion plugin and provides similar functionality for the Mercurial distributed version control tool. See the README.txt file for more information.

With JIRA 3.13 and plugin version 3.13 make sure that hg.updaterepo.1 etc is set to true in the
mercurial-jira-plugin.properties file or the local repository will not get updated.
This is not needed for version 4.0 of the plugin.

Screenshots


Version History

  • 4.0 (December 2009) Matt Doar updated for JIRA 4.0
  • 3.13 (August 2009) Matt Doar removed unused files and changed the domain to com.consultingtoolsmiths. The version number now tracks the major version of JIRA. Many other smaller fixes.
  • 0.2 (sic) Chad Loder and Vladislav Manchev. This version brought the plugin up to date for maven2 and JIRA 3.12, JIRA 3.13. These changes now require JDK1.5 to compile.
    JHG-1 and JHG-5 changes incorporated.
  • 0.3.7.0.7 Matt Doar Updated version to reflect the name change of the plugin. No functionality changed in this release.
  • 0.3.7.0.6 Mihai Ibanescu: Modified some more, tested against Jira 3.7.1
  • 0.3.6.0.4 Mihai Ibanescu: Modified to work with Jira 3.6, tested against Jira 3.6.5.
  • 0.2 Matt Doar Support for multiple repositories added

Known Issues

Labels

plugin plugin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Sep 11, 2007

    Matt Doar says:

    Mail from Rob Schoening, who got the plugin working with Jira 3.10. I'll get rou...

    Mail from Rob Schoening, who got the plugin working with Jira 3.10. I'll get round to merging this into the Subversion repo soonish.

    The code in the ant script to download the dependencies was broken. I think atlassian moved their jars around or something. Here's change to build.xml that just takes the jars from the local installation, provided that you set the ant property "jira.webapp.dir" appropriately. It also deploys the jar.

    diff -r c07fa0db8aad build.xml
    --- a/build.xml Fri Aug 31 23:28:38 2007 -0700
    +++ b/build.xml Wed Sep 05 13:52:19 2007 -0700
    @@ -18,11 +18,17 @@
       </property>
       <property name="final.name" value=" atlassian-jira-mercurial-plugin-0.3.7.0.6">
       </property>
    +  <property name="jira.webapp.dir" value="../atlassian-jira-enterprise-3.10-standalone/atlassian-jira" />
    +
       <path id=" build.classpath">
         <fileset dir="${libdir}">
           <include name="**/*.jar">
           </include>
         </fileset>
    +       <fileset dir="${jira.webapp.dir }/WEB-INF/lib" >
    +               <include name="**/*.jar" />
    +       </fileset>
    +       <pathelement location="${jira.webapp.dir}/WEB-INF/classes" />
       </path>
       <target name="init" description="o Initializes some properties">
         <mkdir dir="${libdir}">
    @@ -59,6 +65,7 @@
       <target name="jar" description="o Create the jar" depends="compile,test">
         <jar jarfile="${defaulttargetdir}/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
         </jar>
    +       <copy todir="${ jira.webapp.dir}/WEB-INF/lib" file="${defaulttargetdir}/${final.name}.jar" />
       </target>
       <target name="clean" description="o Clean up the generated directories">
         <delete dir="${defaulttargetdir}">
    @@ -107,58 +114,11 @@
           </classpath>
         </javadoc>
       </target>
    -  <target name="get-deps" unless="noget" depends="init">
    -    <!--Proxy settings works only with a JDK 1.2 and higher.-->
    -
    -    <setproxy>
    -    </setproxy>
    -    <get dest="${libdir}/atlassian-jira-3.7.1.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/atlassian-jira/jars/atlassian-jira-3.7.1.jar">
    -    </get>
    -    <get dest="${libdir}/atlassian- plugins-0.3.17.jar" usetimestamp="true" ignoreerrors="true" src="http://repository.atlassian.com/atlassian-plugins/jars/atlassian-plugins-0.3.17.jar ">
    -    </get>
    -    <get dest="${libdir}/atlassian-core-2.4.9.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/atlassian-core/jars/atlassian-core-2.4.9.jar">
    -    </get>
    -    <get dest="${libdir}/atlassian-configurableobjects-0.4.21.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/atlassian-configurableobjects/jars/atlassian-configurableobjects-0.4.21.jar ">
    -    </get>
    -    <get dest="${libdir}/atlassian-ofbiz-0.3.6.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/atlassian-ofbiz/jars/atlassian-ofbiz-0.3.6.jar">
    -    </get>
    -    <get dest="${libdir}/osuser-1.0-dev-log4j-1.4jdk-7Dec05.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/osuser/jars/osuser-1.0-dev-log4j-1.4jdk-7Dec05.jar">
    -    </get>
    -    <get dest="${libdir}/log4j- 1.2.8.jar" usetimestamp="true" ignoreerrors="true" src="http://repository.atlassian.com/log4j/jars/log4j-1.2.8.jar">
    -    </get>
    -    <get dest="${libdir}/commons-collections-3.1.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/commons-collections/jars/commons-collections-3.1.jar">
    -    </get>
    -    <get dest="${libdir}/ofbcore-share-2.1.1.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/ofbcore/jars/ofbcore-share-2.1.1.jar">
    -    </get>
    -    <get dest="${libdir}/ofbcore- entity-2.1.1-atlassian-20Dec05.jar" usetimestamp="true" ignoreerrors="true" src="http://repository.atlassian.com/ofbcore/jars/ofbcore-entity-2.1.1-atlassian-20Dec05.jar ">
    -    </get>
    -    <get dest="${libdir}/ofbcore-service-2.1.1.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/ofbcore/jars/ofbcore-service-2.1.1.jar">
    -    </get>
    -    <get dest="${libdir}/ofbcore-extutil-2.1.1.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/ofbcore/jars/ofbcore-extutil-2.1.1.jar">
    -    </get>
    -    <get dest="${libdir}/webwork- 1.4.jar" usetimestamp="true" ignoreerrors="true" src="http://repository.atlassian.com/webwork/jars/webwork-1.4.jar">
    -    </get>
    -    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://repository.atlassian.com/junit/jars/junit-3.8.1.jar ">
    -    </get>
    -    <get dest="${libdir}/jmock-1.0.1.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/jmock/jars/jmock-1.0.1.jar">
    -    </get>
    -    <get dest="${libdir}/lucene-1.4.3.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/lucene/jars/lucene-1.4.3.jar">
    -    </get>
    -    <get dest="${libdir}/osworkflow-17Aug2004.jar " usetimestamp="true" ignoreerrors="true" src="http://repository.atlassian.com/osworkflow/jars/osworkflow-17Aug2004.jar ">
    -    </get>
    -    <get dest="${libdir}/propertyset-1.3.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/propertyset/jars/propertyset-1.3.jar">
    -    </get>
    -    <get dest="${libdir}/picocontainer-1.0.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/picocontainer/jars/picocontainer-1.0.jar">
    -    </get>
    -    <get dest="${libdir}/oscore- 2.2.6-dev-9Nov05.jar" usetimestamp="true" ignoreerrors="true" src="http://repository.atlassian.com/oscore/jars/oscore-2.2.6-dev-9Nov05.jar ">
    -    </get>
    -    <get dest="${libdir}/commons-lang-2.0.jar" usetimestamp="true" ignoreerrors="true" src=" http://repository.atlassian.com/commons-lang/jars/commons-lang-2.0.jar">
    -    </get>
    -  </target>
    +  <target name="get-deps" unless="noget" depends="init" />
       <target name="install-maven">
         <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
         </get>
         <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
         </unjar>
       </target>
    -</project>
    \ No newline at end of file
    +</project>
    diff -r c07fa0db8aad src/java/com/xensource/jira/plugin/ext/mercurial/revisions/RevisionIndexService.java
    --- a/src/java/com/xensource/jira/plugin/ext/mercurial/revisions/RevisionIndexService.java      Fri Aug 31 23:28:38 2007 -0700
    +++ b/src/java/com/xensource/jira/plugin/ext/mercurial/revisions/RevisionIndexService.java      Wed Sep 05 13:52:19 2007 -0700
    @@ -47,7 +47,7 @@ public class RevisionIndexService extend
     
         public static void install() throws Exception
         {
    -        if (getServiceManager().getServiceWithName(REVISION_INDEX_SERVICE_NAME) != null)
    +        if (getServiceManager().getServiceWithName(REVISION_INDEX_SERVICE_NAME) == null)
             {
                 getServiceManager().addService(REVISION_INDEX_SERVICE_NAME,
                     RevisionIndexService.class.getName(),
    
    
  2. Sep 15, 2008

    Mayo Jordanov says:

    Hello, are there any plans to revive/update this project and make it work with ...

    Hello,

    are there any plans to revive/update this project and make it work with the recent JIRA releases (currently 3.13)? If not, it would be nice if a message was posted with the last JIRA release this plugin worked with and declare it dead/dormant just to let hopeful users know to try elsewhere.

    UPDATE: Seems like Doug has been doing some work on this and there is a version of the plugin that works with 3.12.2 as well as 3.13 under the issue JHG-1.

    Thanks,
    mayo

  3. Nov 24

    Severin Hacker says:

    are you planning to support JIRA 4.0?

    are you planning to support JIRA 4.0?

    1. Nov 24

      Matt Doar says:

      Yup. Not sure when at the moment but Q1 2010 is the aim. ~Matt

      Yup. Not sure when at the moment but Q1 2010 is the aim.

      ~Matt