"--rev x" also matches against the short node number

Jan Olsen janpolsen at gmail.com
Sun Jun 5 17:01:55 CDT 2011


Hi Dennis

Why are you using revision numbers in the first place? You know that they
> are
> specific to a local repository and you will get differences once you merge
> with
> another remote repository. Once you do that, your and the remote repository
> will
> not agree on what revision 42 is.
>

I only use the revision number to get a list of change sets since last
stored revision number from our database.
As far as I can see, the easiest way to do that is, to use revision numbers
since I can use the "formula": --rev "rev(*<last stored revision number in
database> + 1*):tip"

Best regards,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20110606/ef4199d3/attachment.htm>


More information about the Mercurial mailing list