Tracking down deleted files
Benoit Boissinot
bboissin at gmail.com
Wed Sep 13 21:57:42 UTC 2006
On 9/13/06, Christian Ebert <blacktrash at gmx.net> wrote:
> * TK Soh on Wednesday, September 13, 2006 at 16:01:01 -0500:
> > $ hg log -k <filename> -l1 -v
> >
> > Should give the changeset where the file was last modified (deleted).
>
> Should.
>
> $ hg log -k wrapmargin-mutt.sh -l1 -v
> changeset: 21:4d6c6a6bf721
> user: chris
> date: Mon May 23 06:13:55 2005 +0000
> files: wrapmargin-mutt.sh
> description:
> Added source.
>
> $ hg --debug log | grep -C6 '^files-:.*wrapmargin-mutt' | head -n1 \
> | cut -d: -f3 | xargs hg -v log -r
> changeset: 60:027635b79a9c
> user: chris
> date: Thu Aug 25 14:35:56 2005 +0000
> files:
> description:
> Will be moved to mutt module as "wrapmargin.sh"
>
>
> Just too old.
>
Right, log -k works only for recent csest (we added removed files in
the file section of the changelog only recently).
regards,
Benoit
More information about the Mercurial
mailing list