possible bug in hg log for files added, removed and re-added
Bastian Doetsch
bastian.doetsch at gmx.de
Sat Jun 21 09:57:34 CDT 2008
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?
Thanks for your help!
Bastian
1)
bastian at testrechner:~/runtime-EclipseApplication/me$ hg log --debug -f
javaCompiler...args
changeset: 270:989650d5e4a7e92e4286bd4a5ade24ba5af3ebf3
parent: 262:c890f15582109219e4d5f2e30324e4295fda53fa
parent: -1:0000000000000000000000000000000000000000
manifest: 269:295a19167e75ed9174454bded4d9e1c556901352
user: Bastian Doetsch <bastian.doetsch at gmx.de>
date: Mon Apr 07 19:32:54 2008 +0200
files: .hgignore
files+: javaCompiler...args
extra: branch=default
description:
sync with jerome negre
2)
bastian at testrechner:~/runtime-EclipseApplication/me$ hg log -r 335
--debug
changeset: 335:2f727c581b850d0bc2cc7400065a2823e5e682d8
parent: 334:49a8ca2e78eb0382965415457783a38e40444ddf
parent: 324:d06ca2d012203738fff335baae26b40672af5c9b
manifest: 334:2b454017b8297facb2965ecc00b4d1b6a30feda4
user: Charles O'Farrell <charleso at gmail.com>
date: Mon Apr 28 11:24:47 2008 +1000
files: .hgignore .settings/org.eclipse.jdt.core.prefs Contributors
META-INF/MANIFEST.MF plugin.xml
[...]
files+: .settings/org.eclipse.jdt.ui.prefs build.xml
javaCompiler...args
[...]
files-: src/com/vectrace/MercurialEclipse/model/ChangeLog.java
test/com/vectrace/MercurialEclipse/model/ChangeLogTest.java
test/com/vectrace/MercurialEclipse/model/log1.out
extra: branch=default
description:
BIG merge with Bastian to include my dodgy GraphLog
-------------- 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/44f6041e/attachment.pgp
More information about the Mercurial
mailing list