[issue1903] Added file log entry not shown for all named branch

Adam Berkes bugs at mercurial.selenic.com
Tue Nov 10 01:43:32 CST 2009

New submission from Adam Berkes <berkesadam at gmail.com>:

This is a reproducible bug.

Circumstances: a file added for default branch and the change transplanted
successfully to another named branch. When command 'hg -v log -b default
/path/to/file' is executed the change log is correctly shows the entry where
file added, but if 'hg -v log -b my-branch ...' the addition change log
entry is not shown. It is even more weird if I use the actual revision where
the change set transplanted: 'hg -v log -r 12345 ...' - it shows no log
entry, while if I change it to 'hg -v log -r 12345' (without file path) the
log entry shown and I can see the '/path/to/file' in files part of the entry. 

Note: this only valid if log filtered by path. When global log requested no
similar problem occurs.

Hint: I looked into commands.py, and from line 2036 there are multiple
'continue' statements are used if "st== 'add'" which I assume only true if 1
file is added as filter. So one of the condition might invalidly skip
processing a log entry?

messages: 10937
nosy: adam.berkes
priority: bug
status: unread
title: Added file log entry not shown for all named branch

Mercurial issue tracker <bugs at mercurial.selenic.com>

More information about the Mercurial-devel mailing list