hg help -v diff bug?

André Sintzoff andre.sintzoff at gmail.com
Wed May 16 08:13:12 CDT 2012


2012/5/16 Wujek Srujek <wujek.srujek at googlemail.com>:
> The help says at some point, in the examples area:
>
> - compare two historical versions of a directory, with rename info:
>
>         hg diff --git -r 1.0:1.2 lib/
>
> The -r 1.0:1.2 parts seems strange, and I cannot make it work. What does it
> mean? Or is it typos?

In hg help revisions:
Any other string is treated as a tag or branch name.

Therefore -r 1.0:1.2 means all revisions between tags 1.0 and 1.2 if they exist.


André


More information about the Mercurial mailing list