qlog: add option to show related branches.

Bug #334531 reported by Gary van der Merwe on 2009-02-25
Affects Status Importance Assigned to Milestone

Bug Description

We should have a --related command line option to show the bound, push, parent, and submit branches of the current branch.

Do we have a button in the gui to do the same thing, so the users who are using tbzr or the not yet finished qbzr app also have access to this functionality?

On Wed, Feb 25, 2009 at 10:04 PM, Russel Winder <email address hidden> wrote:

"bzr qlog <shared repository directory>" is a singualr exception, I
definitely use it to show what is happening with multiple branches in a
shared repository, bzr-gtk has no equivalent as far as I know.
Unfortunately this only does 0.5 the job that "gitk --all" does. Gitk
wins here on all counts, but mostly because it shows the remote branches
as well as the local branches. This is perhaps the single biggest
irritation of my life, I want to use Bazaar to manage my Subversion
repository but Git has all the speed and remote branch visualization and
management features.

Changed in qbzr:
assignee: nobody → garyvdm
importance: Undecided → Wishlist
status: New → Confirmed
Russel Winder (russel) wrote :
Download full text (3.1 KiB)

I tried doing:

    bzr qlog . :parent :push :submit :bound

in a shared repository, and got:

    bzr: ERROR: Not a branch: "/home/users/russel/Repositories/Bazaar/Branches/Gant/.bzr/branch/"

If I do:

    bzr qlog .

in the same directory it works fine.

I tried cd into a branch and:

    bzr qlog . :parent :push :submit :bound

but that gives me:

    bzr: ERROR: No submit location assigned.

the problem here is the :submit and :bound which are not set on the branch. Restricting to:

    bzr qlog . :parent :push

This started to show something but then crashed with what looks like a bzr-svn issue:

Upgrade to Subversion 1.5 or higher for faster retrieving of revision properties.
bzr: ERROR: exceptions.KeyError: 'svn-v3-trunk1:d02f77da-47a5-474d-b610-f18e4bea325a:gant%2Ftags%2F1.6.1:10180'

Traceback (most recent call last):
  File "/home/users/russel/.bazaar/plugins/qbzr/lib/log.py", line 227, in load
  File "/home/users/russel/.bazaar/plugins/qbzr/lib/logwidget.py", line 93, in load_locations
  File "/home/users/russel/.bazaar/plugins/qbzr/lib/logwidget.py", line 119, in load
  File "/home/users/russel/.bazaar/plugins/qbzr/lib/logwidget.py", line 230, in load_visible_revisions
    before_batch_load = before_batch_load
  File "/home/users/russel/.bazaar/plugins/qbzr/lib/loggraphprovider.py", line 1237, in load_revisions
  File "/home/users/russel/.bazaar/plugins/qbzr/lib/loggraphprovider.py", line 1247, in post_revision_load
    revno_sequence = self.merge_sorted_revisions[self.revid_msri[revision.revision_id]][3]
KeyError: 'svn-v3-trunk1:d02f77da-47a5-474d-b610-f18e4bea325a:gant%2Ftags%2F1.6.1:10180'

bzr 1.12 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'qlog', '.', ':parent', ':push']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
  bookmarks /home/users/russel/.bazaar/plugins/bookmarks [unknown]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.12]
  email /usr/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
  gtk /home/users/russel/.bazaar/plugins/gtk [0.96.0.dev.1]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
  pqm /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.0dev]
  qbzr /home/users/russel/.bazaar/plugins/qbzr [0.9.9dev]
  rebase /home/users/russel/.bazaar/plugins/rebase [0.4.4dev]
  stats /usr/lib/python2.5/site-packages/bzrlib/plugins/stats [unknown]
  svn /home/users/russel/.bazaar/plugins/svn [0.5.3dev]
  upload /usr/lib/python2.5/site-packages/bzrlib/plugins/upload [0.1]
  xmloutput /home/users/russel/.bazaar/plugins/xmloutput [0.8.3]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when t...


Changed in qbzr:
assignee: Gary van der Merwe (garyvdm) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers