Efficient way to check for the changeset of last changes of some file(s)?
Marcin Kasperski
Marcin.Kasperski at softax.com.pl
Wed May 2 14:32:30 UTC 2007
> hg log <files> is the fastest way because it only visits
> changesets which touch the files in question.
That's true only if the files are minority in repo ;-)
> hg log --template "{date} {files}\n" <file1> <file2>
Thanks for the hint, --template indeed simplifies the life a
little bit. Although I feel I rather need
hg log --template "{rev}:{node|short}:{files}\n" <files>
More information about the Mercurial
mailing list