Hello, For the problem reported below, I created ticket SCM-609 and provided a patch. The link to the Github branch is in the ticket. Can someone review and integrate this in 1.5-SNAPSHOT?
Tnx, Ringo On 14 February 2011 16:21, Ringo De Smet <[email protected]> wrote: > Hello, > > I am re-using the Maven HG provider in a project where I need to > process all commits. I have a problem with the changelog command. > > Mercurial reports the revision under the following form: > 996:dfec0866dab97b8b5b949a6b16a70181a90deeb0 > The first part is a number which is only valid for the locally cloned > repository. The revision hash thereafter is an ID that identifies the > commit for every user. The latter should be used to report on specific > commits. > > However, looking at the code (1), line 177, it is the first part that > is set as the revision in the Mercurial ChangeSet object. > > (1) > http://svn.apache.org/viewvc/maven/scm/tags/maven-scm-1.4/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/changelog/HgChangeLogConsumer.java?view=markup > > I would like to change this for version 1.5, but would like to know if > anyone/anything is depending on this number instead of the hash... > > Ringo > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
