cat --follow

j w jwdevel at gmail.com
Tue Dec 18 11:35:33 CST 2007


On Dec 17, 2007 3:12 PM, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
>
> It's hard to get a consistant UI for the "revision specified" case,
> since hg cat already has a -r option, which is obviously different
> from the one you want (otherwise, "hg cat -r R f foo" would mean "give
> me the file in revision R which was named foo in revision R").
>

Maybe the -f option could take revision numbers ?
But then the -f isn't consistent across commands (not that it is right
now, since annotate treats it different from log as mpm pointed out)

something like:
    hg cat -fX at Y foo
similar to the svn command Evan wrote...

-John


More information about the Mercurial mailing list