revision count is wrong in "bzr branch" and "bzr info -v"

Bug #561247 reported by GuilhemBichot
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

I have a shared repo, and this branch inside it:
[/m/bzrrepos/mysql-6.0-codebase-bugfixing-50361-2 $] bzr info -v
Repository tree (format: unnamed)
Location:
  shared repository: /home/mysql_src/bzrrepos
  repository branch: .
(cut)
Branch history:
      3852 revisions
"3825" is wrong, there are actually 76043 revisions in this branch (seen by creating an empty branch and using "bzr missing", and looking at the "you are missing" line). 3852 is only the revno of the top revision. There are 3852 *mainline* revisions. The displaid text should read either "3852 mainline revisions" or "76043 revisions".
Same for "bzr branch" to create a copy of this same branch:
[T35 09:21 /m/bzrrepos/mysql-6.0-codebase-bugfixing-50361-2 $] bzr branch . ../foo --no-tree
Branched 3852 revision(s).
again "3852 revision(s)" is incorrect.
I am using a recent bzr.dev.

Vincent Ladeuil (vila)
Changed in bzr:
status: New → Confirmed
importance: Undecided → Wishlist
tags: added: easy ui
Revision history for this message
GuilhemBichot (guilhem-bichot) wrote :

I wonder about "wishlist". Is it really just my wish that "X revisions" would mean that there are X revisions? Or is it that printing "X revisions" when there are actually Y revisions, is a false information and thus a bug?

Revision history for this message
Vincent Ladeuil (vila) wrote :

I meant papercut not wishlist, sorry for the confusion.

It's true that bzr should use "mainline revisions' instead of "revisions", I'm not sure branch and info are the only commands to fix though.

Changed in bzr:
importance: Wishlist → Low
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.