possible bug in hg log for files added, removed and re-added

Bastian Doetsch bastian.doetsch at gmx.de
Sat Jun 21 14:31:39 CDT 2008


> > > 
> > > File-level logging only shows revisions where the -contents- of a file
> > > get changed. In particular it won't show:
> > > 
> > > - when a file is deleted
> > > - when a file gets readded with the same contents
> > > - when permission bits change
> > > - when a merge happens without conflicts
> > > 
> > 
> > Ah that explains it - thanks. I now wonder, what's the reason for this
> > constraint?
> 
> With hg log, we read the entire changelog. With hg log <file>, we read
> the individual file's log, which for a big project can be orders of
> magnitude faster. And the file's log only tracks file contents.
> 


Thanks for the explanation :-).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080621/7117d299/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://selenic.com/pipermail/mercurial/attachments/20080621/7117d299/attachment.pgp 


More information about the Mercurial mailing list