qlog does not show revisions with only deleted files/dirs

Bug #519524 reported by Aliaksei Vasileuski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned
QBzr
Confirmed
Low
Unassigned

Bug Description

How to reproduce (for Windows, it seems to be trivial to modify for GNU/Linux):
 bzr init qbzrtest
 cd qbzrtest
 mkdir dir1
 mkdir dir1\dir2
 bzr add
 bzr ci -m "dirs added."
 bzr remove --force dir1/dir2
 bzr ci -m "deleted a dir."
 bzr --no-aliases log --line dir1
  2: author 2010-02-09 deleted a dir.
  1: author 2010-02-09 dirs added.
 bzr --no-aliases qlog dir1
  1: author 2010-02-09 dirs added.
So #2 is not shown by "bzr qlog"!

affects: bzr → qbzr
Revision history for this message
Alexander Belchenko (bialix) wrote :

The root of this problem is inside bzr itself: bzr does not provides info about deletions. You will get the same result with usual `bzr log dir1`.

We can try to emulate this info in qlog itself but it will be very slow.

Revision history for this message
Aliaksei Vasileuski (sagara1337) wrote :

But it is incorrect, "bzr log dir1" gives me:
  2: author 2010-02-09 deleted a dir.
  1: author 2010-02-09 dirs added.

(see bzr --no-aliases log --line dir1 above).

Revision history for this message
Alexander Belchenko (bialix) wrote :

Gary, can you comment on this?

Changed in bzr:
status: New → Invalid
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

bzr log FILE does not show revisions were the file was deleted. (bug 181520)
bzr log DIR does show revisions were the file was deleted.
bzr log FILE -v does show revisions were the file was deleted.

I can fix this, but there will be a performance hit.

Changed in qbzr:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote :
Revision history for this message
Aliaksei Vasileuski (sagara1337) wrote :

I've read the bug 181520, there are some ideas how to fix there in "new formats" (without performance loss, I hope).

So!

1. At least the 'qlog' window should have 'why some revisions are not shown?' link which opens help topics and describes the issue (and lists workaround(s), e.g. I had to use "bzr log > some.txt" and search in the text editor to actually found what I need).
2. New help topic for the issue and "bzr help log", "bzr help qlog" commands should suggest to read it.
3. Ideal solutions will be a format change to show deleted files/dirs without a performance hit. It is not easy solution, I guess, but how can I rely on VCS if it hides some info from me?
4. At least can qlog show revisions where the file/dir was deleted just like "bzr log DIR"? Or "bzr log" has mentioned "performance hit"?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.