Comment 3 for bug 816338

Revision history for this message
ChriS (christophe-troestler) wrote : Re: [Bug 816338] Re: bzr-svn: set_tag assertion error

On Tue, 26 Jul 2011 12:31:59 +0000, Jelmer Vernooij wrote:
>
> On Tue, 2011-07-26 at 10:02 +0000, ChriS wrote:
> > ** Attachment added: ".bzr.log"
> > https://bugs.launchpad.net/bugs/816338/+attachment/2233347/+fi
> les/.bzr.log
> What is the layout you are using for this branch ?
>
> "bzr svn-layout
> svn+ssh://svn.forge.ocamlcore.org/svn/archimedes/cairo" should tell
> you.

$ bzr svn-layout svn+ssh://svn.forge.ocamlcore.org/svn/archimedes/cai
ro
Repository root: svn+ssh://svn.forge.ocamlcore.org/svn/archimedes
Layout: WildcardLayout(['trunk', 'cairo', 'branches/*'],['tags/*'])
Branch path: cairo
Project: cairo
No custom branch support
Push merged revisions: False

> My guess is that bzr-svn is trying to push tags, but that it does n
> ot
> know where to push them to.

Maybe indeed I made a mistake. Since the layout was unusual ("cairo"
 and "trunk" are branches ― related projects but not sharing history)
, I had to put in ~/.bazaar/subversion.conf

[073b04eb-ee37-4885-9600-4b38ac648819]
locations = svn+ssh://<email address hidden>/svn/archimedes;sv
n://svn.forge.ocamlcore.org/svn/archimedes;svn+ssh://svn.forge.ocamlc
ore.org/svnroot/archimedes;svn+ssh://svn.forge.ocamlcore.org/svn/arch
imedes
guessed-layout = trunk0
tags = tags/*
branches = trunk;cairo;branches/*

without this I got:

bzr: ERROR: Tags not supported by SvnBranch('svn+ssh://svn.forge.ocam
lcore.org/svn/archimedes/cairo'); you may be able to use bzr upgrade.

I was expecting a error message if I made an error and maybe this is
what I got in form of an assertion error (a nicer message then would
be greatly appreciated).

Thanks for your prompt reply,
C.