Comment 1 for bug 181520

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 181520] bzr log FILE don't show revisions where file was removed

On Wed, 2008-01-09 at 15:13 +0000, Alexander Belchenko wrote:
> Public bug reported:
>
> bzr 1.1rc1. I removed file in some revision, later I decided to
> resurrect it. And noticed that fact of removing file is not shown in
> log. It's a bug for me.

I agree. log -v uses the per file graph to perform the decision of what
to report, and that graph doesn't include terminal markers.

How to fix:

Existing formats:
 - change log -v to spider out inventory deltas looking for the fileid
and using the last-changed field in the parents of a revision it is
present in to skip over unrelated history

New formats:
 - we should record in the perfile graph deletes as an action
 - reconcile can be changed to add this into existing graphs with no
change to the inventory
 - we might want to consider listing deleted paths from parents in the
inventory representation itself, but I'm not sure that that is needed.

-Rob

--
GPG key available at: <http://www.robertcollins.net/keys.txt>.