how to find the last change to a file
Felix -
felix.1 at canids.net
Tue Mar 10 16:28:56 CDT 2009
what screws me up is
hg log -r . foo
doesn't work,
because . is relative to the workdir,
not relative to foo.
On Tue, Mar 10, 2009 at 14:13, Arne Babenhauserheide <arne_bab at web.de> wrote:
> Am Dienstag 10 März 2009 17:56:41 schrieb Georg:
>> somehow I'm too dumb to solve this simple task: How do I find the last
>> change to a file, in the parents of the version I'm currently looking at?
>
> If you want exactly the last change to the file:
> "hg parents file" -> REVISION
> "hg log -p -r REVISION file" -> changes
>
>
> "hg log -p" gives the patch aka the changes.
>
> "hg -r REV" restricts the output to a certain revision.
>
>
> Best wishes,
> Arne
> --
> -- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
> -- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
> history of free software.
> -- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
>
> -- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
More information about the Mercurial
mailing list