how to find the last change to a file

Arne Babenhauserheide arne_bab at web.de
Tue Mar 10 16:13:49 CDT 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090310/4baa3fc5/attachment.pgp 


More information about the Mercurial mailing list