log should show subversion revision numbers as well as branch/bzr revision info

Bug #161830 reported by Nicholas Allen
4
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Wishlist
Unassigned
Bazaar Subversion Plugin
Fix Released
Wishlist
Jelmer Vernooij

Bug Description

I branched from the tracker linux search tool subversion project using bzr. I also did a checkout using svn. I compared the 2 logs and the head revision number in bzr is a few less that the number in subversion. It would be nice if these numbers matched up. I think this is a bug but if not would be interested in why they could be different.

The subversion repo is here: http://svn.gnome.org/svn/tracker/trunk

In bzr the log looks like this:

------------------------------------------------------------
revno: 988
committer: asaleem
timestamp: Sat 2007-11-10 05:38:19 +0000
message:
  fix typo of additional (bug #494492)
------------------------------------------------------------
revno: 987
committer: asaleem
timestamp: Sat 2007-11-10 05:28:06 +0000
message:
  update the preferences dialog
------------------------------------------------------------
revno: 986
committer: mfritzsch
timestamp: Fri 2007-11-09 23:29:03 +0000
message:
  fixed one more tracker-applet.1 bug
------------------------------------------------------------
revno: 985

In subversion it looks like this:

------------------------------------------------------------------------
r1004 | asaleem | 2007-11-10 06:38:19 +0100 (Sat, 10 Nov 2007) | 1 line

fix typo of additional (bug #494492)
------------------------------------------------------------------------
r1003 | asaleem | 2007-11-10 06:28:06 +0100 (Sat, 10 Nov 2007) | 1 line

update the preferences dialog
------------------------------------------------------------------------
r1002 | mfritzsch | 2007-11-10 00:29:03 +0100 (Sat, 10 Nov 2007) | 2 lines

fixed one more tracker-applet.1 bug

------------------------------------------------------------------------
r1001 | mfritzsch | 2007-11-10 00:29:00 +0100 (Sat, 10 Nov 2007) | 2 lines

docs/Makefile.am, made tracker-preferences.1 dependant on ENABLE_PREFERENCES as it is in src/

------------------------------------------------------------------------
r1000 | mfritzsch | 2007-11-09 23:55:58 +0100 (Fri, 09 Nov 2007) | 2 lines

Related branches

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Subversion revision numbers are per-repository, Bazaar revision numbers are per-branch. So
perhaps this bug report should be changed to "display svn revision numbers in bzr log" ? See also bug 160605

Revision history for this message
Nicholas Allen (nick-allen) wrote :

That makes sense. It would be nice to see the svn revision number in the log like you say. I guess this could be stored as a property on the revision but not sure if Bazaar supports this yet.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yep, storing it as a revision property would indeed be possible. The main issue would be how hook into the log display code to display this revision property.

What should "bzr log" display? Something like this:

------------------------------------------------------------
revno: 787
svn revno: 34598
committer: Jelmer Vernooij <email address hidden>
branch nick: 0.4
timestamp: Sun 2007-11-11 20:16:06 +0100
message:
  Merge revision specifier support.

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Nicholas Allen (nick-allen) wrote :

I think that would be great ;-)

Jelmer Vernooij (jelmer)
Changed in bzr-svn:
milestone: none → 0.5.0
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Guillermo is working on the required changes in bzr core.

Revision history for this message
Martin Albisetti (beuno) wrote :

I'm marking this as invalid as it's related to bzr-svn and bzr.

Changed in bzr:
status: New → Invalid
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

reopening the bzr bit of this as it requires changes in bzr core

Changed in bzr:
importance: Undecided → Wishlist
status: Invalid → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Implemented in the 0.4 branch (iff Guillermo's patch is applied).

Changed in bzr-svn:
assignee: nobody → jelmer
milestone: 0.5.0 → 0.4.11
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in bzr:
status: Triaged → Fix Released
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: Fix Committed → Fix Released
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.