bzr log barfs with renamed file
Eli Zaretskii
eliz at gnu.org
Fri Jul 30 19:02:57 BST 2010
> Date: Fri, 30 Jul 2010 11:41:33 -0500
> From: John Arbash Meinel <john at arbash-meinel.com>
> CC: bazaar at lists.canonical.com
>
> > $ bzr log -c26091 --long src/s/usg5-4-common.h
> > bzr: ERROR: Path unknown at end or start of revision range: src/s/usg5-4-common.h
> >
> > (It works if I use usg5-4.h, the name this file had when revno 26091
> > was committed.)
> >
> > Should I file a bug report?
> >
> >
>
> The file was renamed at revision 26091 or 26090? Or it was renamed since
> then to usg5-4-common.h now?
The latter. It was renamed much later, in revision 100942. 26091 was
one of the revisions that changed the file under its old name.
> I looked around and saw a similar bug reported for 'bzr cat', but didn't
> find one for 'bzr log'. You're welcome to report one.
Will do.
> It would be reasonable to first try the revisions specified, and then
> fall back to the working tree to look for file-ids to log in the old
> revisions.
I assumed "bzr log" should work because "bzr diff" has no problems
with the new name. E.g., "bzr diff -c26091 src/s/usg5-4-common.h"
shows the diffs for src/s/usg5-4.h, as I'd expect.
More information about the bazaar
mailing list