bzr-svn / qbzr issue with qlog

Russel Winder russel.winder at concertant.com
Thu Jun 11 15:49:06 BST 2009


John,

On Thu, 2009-06-11 at 09:14 -0500, John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Russel Winder wrote:
> > The context is a shared repository with two checkouts of a Subversion
> > repository, one is a checkout of trunk, the other is a checkout of a
> > branch (*).  I have two branches from the checkouts in which real work
> > gets done.  It may not be optimal but it seems to work.
> > 
> 
> So... how does one give priority for branch A versus branch B? We could
> arbitrarily look for branch names like "trunk", but otherwise we just
> have a DAG with branch tips at certain points. There is no clear
> superiority between one branch and another.

Aha, but there is a connection to Subversion, which does prioritize.
The totality of information in the shared repository must have the
metadata or bzr-svn wouldn't be able to work.

Also there is a priority imposed because a branch is taken of another
branch so the one that is the parent should take priority.  This
information must be in the branches and so could be used.

> The numbering you see is because one branch shares some mainline
> revisions with the other.
> 
> Anyway, using the name "trunk" as a hint that this should be the first
> branch to be evaluated would probably be reasonable, but I certainly
> wouldn't say that it would always work.

For DVCS in general I think using special labelling such as this is a
bad move.  It is fine for Subversion but not really for Bazaar or
Mercurial.  Git does give a special place to the branch "master".

> What if you give the branches directly, instead of having them found. So
> if you did:
> 
> bzr qlog trunk my_branch
> 
> rather than
> bzr qlog

That does seem to do interesting things.  So perhaps there needs to be a
way of enforcing the structure for the qlog rendering.  Even if the DVCS
does not or cannot know it, the human being know the information.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel at russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090611/efa3a3d2/attachment.pgp 


More information about the bazaar mailing list