possible bug in hg log for files added, removed and re-added
Bastian Doetsch
bastian.doetsch at gmx.de
Sat Jun 21 12:53:44 CDT 2008
Am Samstag, den 21.06.2008, 12:26 -0500 schrieb Matt Mackall:
> On Sat, 2008-06-21 at 16:57 +0200, Bastian Doetsch wrote:
> > Hi all,
> >
> > I've stumbled over an issue in hg log that puzzles me and I think this
> > could be a Mercurial bug, although I'm not quite sure.
> >
> > It seems as if Mercurial doesn't handle the situation properly, when a
> > file is added, removed and afterwards re-added.
> >
> > Below you can find two hg commands I entered and their correspondent
> > results. The repository is at http://hg.assembla.com/mercurialeclipse if
> > you wanna have a look at it.
> >
> > My question is, why the first hg command doesn't yield changeset 335 as
> > result, although the file is clearly part of the fields+ tag and was
> > added (for the second time) in this changeset. Moreover, why isn't a
> > changeset shown for the removal of javaCompiler...args?
>
> 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?
Bastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080621/b30b0a2c/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/b30b0a2c/attachment.pgp
More information about the Mercurial
mailing list