cat --follow [was: extdiff --git ?]

j w jwdevel at gmail.com
Mon Dec 17 17:50:33 UTC 2007


On Dec 17, 2007 9:29 AM, Matt Mackall <mpm at selenic.com> wrote:
>
> The file 'x' in tip may be unrelated to the file 'x' in your working
> directory due to renames, deletions, etc. So when you say 'hg cat -fr
> 0 x', which 'x' are you talking about?
>
> When you do 'hg log -f', you follow the ancestry of tip (or the
> specified revision). When you do 'hg annotate -f x', you follow the
> history of the revision in the working directory.
>

I was thinking of following from tip (or revision specified), as with log.

But I will experiment with the second case you mentioned to get a
better handle on it.
Maybe the user would want to specify which kind of following to use?

-John



More information about the Mercurial mailing list