Tags not supported by SvnBranch

Asked by mogray

Hi I'm trying to push changes to a central subversion repository using bazaar/bzr-svn 2.2.1 on windows 7 and am getting a Tags not supported by SvnBranch error (log below).

It appears my changes are making it into subversion but this error continues to pop up. Should I be worried about the error?

Thanks.

Log:

Thu 2010-11-18 12:15:57 -0500
0.090 bazaar version: 2.2.1
0.090 bzr arguments: [u'push']
0.110 looking for plugins in C:/Users/grayw/AppData/Roaming/bazaar/2.0/plugins
0.110 looking for plugins in C:/Program Files/Bazaar/plugins
0.320 encoding stdout as sys.stdout encoding 'cp437'
0.350 opening working tree 'C:/projectsbzr/cargowatch/cw-trunk'
0.610 bzr-svn: using Subversion 1.6.6 ()
1.041 potential branching layouts: [('trunk1', 301)]
1.041 Guessed repository layout: TrunkLayout(1), guess layout to use: CustomLayout(['CargoWatch/trunk/UI/Par.LMS.CargoWatch'],[])
1.071 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 1161, in run
  File "bzrlib\push.pyo", line 139, in _show_push_branch
  File "C:/Program Files/Bazaar/plugins\svn\remote.py", line 289, in push_branch
  File "bzrlib\branch.pyo", line 1077, in push
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 1017, in push
  File "C:/Program Files/Bazaar/plugins\svn\branch.py", line 1001, in update_tags
  File "bzrlib\tag.pyo", line 208, in merge_to
  File "bzrlib\tag.pyo", line 52, in _not_supported
TagsNotSupported: Tags not supported by SvnBranch('svn+http://yadda.yadda.yadda'); you may be able to use bzr upgrade.

1.111 Transferred: 12kB (22.8kB/s r:0kB w:0kB u:12kB)
1.111 return code 3

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Subversion Plugin Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mogray (mogray5) said :
#1

Also the Subversion repository is version 1.5.4. We could upgrade and see if that fixes it but wanted to check here first.

Thanks.

Revision history for this message
Jelmer Vernooij (jelmer) said :
#2

Upgrading Subversion won't make a difference.

The problem is that you haven't told bzr where to create tags, and you have local tags in your bzr branch that bzr-svn is trying to push to the svn repository.

See 'bzr help svn-layout' for more information.

Revision history for this message
mogray (mogray5) said :
#3

Thanks. From the output of 'bzr help svn-layout' it looks like I need to specify tag locations in file subversion.conf but I'm not clear on the correct path's I need given the local branches I've created.

Our svn setup is the common trunk/tags/branches layout but when I created my own personal bzr branches, I branched from a sub folder in the trunk. Tags are done from root of trunk. Example below:

Remote svn layout:

tags/
    v1/
    v2/
trunk/
    subproject1/
    [[subproject2/]] <--created a local bzr branch from here!
    subproject3/

Do I instead need to restructure my local branches from the root of trunk for tags path settings to work?

Additionally, I haven't created any tags in my local bazaar branches. All tags have been created remotely. We have, however, deleted tags remotely and created new tags with the same name. Not sure if that would cause issues?

Revision history for this message
Jelmer Vernooij (jelmer) said :
#4

On Wed, 2010-12-01 at 16:24 +0000, mogray wrote:
> Thanks. From the output of 'bzr help svn-layout' it looks like I need
> to specify tag locations in file subversion.conf but I'm not clear on
> the correct path's I need given the local branches I've created.
>
> Our svn setup is the common trunk/tags/branches layout but when I
> created my own personal bzr branches, I branched from a sub folder in
> the trunk. Tags are done from root of trunk. Example below:
>
> Remote svn layout:
>
> tags/
> v1/
> v2/
> trunk/
> subproject1/
> [[subproject2/]] <--created a local bzr branch from here!
> subproject3/
>
> Do I instead need to restructure my local branches from the root of
> trunk for tags path settings to work?
>
> Additionally, I haven't created any tags in my local bazaar branches.
> All tags have been created remotely. We have, however, deleted tags
> remotely and created new tags with the same name. Not sure if that
> would cause issues?
I suspect bzr will warn you that there are tag conflicts but that it
won't actually change any of the remote tags.

If you branched from a non-standard location then you shouldn't have
gotten any tags in your local branch, and if there are no tags to push
bzr shouldn't print that warning/error.

What does running "bzr tags" in your local branch output?

Cheers,

Jelmer

Revision history for this message
mogray (mogray5) said :
#5

Here's the output of bzr tags. The list contains all of the tags we have in svn.

C:\projectsbzr\cw-trunk>bzr tags
9.0.1_20090228 ?

9.2.0_20090618 ?

9.3.1_20091215 ?

9.3.2_20090129 ?

9.3.2_20100127 ?

9.3.2_20100205 ?

9.3.2_20100208 ?

9.3.3_20100219 ?

9.3.4_20100303 ?

9.3.4_20100312 ?

9.3.4_20100315 ?

9.4.0_20100526 ?

9.4.0_20100527 ?

9.4.0_20100601 ?

9.4.0_20100602 ?

9.4.0_20100603 ?

9.4.1_20100614 ?

9.4.1_20100615 ?

9.4.2_20100706 ?

9.4.2_20100712 ?

9.4.3_20100727 ?

9.5.0_20100827 ?

9.5.0_20100831 ?

9.5.0_20100910 ?

9.6.0_20101006 ?

9.6.0_20101007 ?

9.6.1_20101105 ?

9.6.1_20101129 ?

Revision history for this message
Jelmer Vernooij (jelmer) said :
#6

On Wed, 2010-12-01 at 16:56 +0000, mogray wrote:
> Question #134588 on Bazaar Subversion Plugin changed:
> https://answers.launchpad.net/bzr-svn/+question/134588
>
> mogray posted a new comment:
> Here's the output of bzr tags. The list contains all of the tags we have in svn.
>
> C:\projectsbzr\cw-trunk>bzr tags
> 9.0.1_20090228 ?
[...]

Hmm, that's interesting. Do the tags point at revisions in /trunk
or /trunk/project2 ? ("bzr tags --show-ids" should tell you).

Cheers,

Jelmer

Revision history for this message
mogray (mogray5) said :
#7

Here's what 'bzr tags --show-id' looks like. I lied, looks like some of the tags are from a remotely created svn branch as well.

9.0.1_20090228 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:157

9.2.0_20090618 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:354

9.3.1_20091215 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:539

9.3.2_20090129 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:586

9.3.2_20100127 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:584

9.3.2_20100205 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:600

9.3.2_20100208 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:602

9.3.3_20100219 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:622

9.3.4_20100303 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:635

9.3.4_20100312 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:650

9.3.4_20100315 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:653

9.4.0_20100526 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:757

9.4.0_20100527 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:763

9.4.0_20100601 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:777

9.4.0_20100602 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:786

9.4.0_20100603 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:796

9.4.1_20100614 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:832

9.4.1_20100615 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:837

9.4.2_20100706 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:869

9.4.2_20100712 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:900

9.4.3_20100727 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/branches/9.4:942

9.5.0_20100827 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:1051

9.5.0_20100831 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:1056

9.5.0_20100910 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:1077

9.6.0_20101006 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:1131

9.6.0_20101007 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:1135

9.6.1_20101105 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:1174

9.6.1_20101129 svn-v4:0927908c-db7f-3f46-b35e-cc73cb45aa66:CargoWatch/trunk:1196

Are there commands I could have run in bazaar to cause all the tags to come down? Things have been working great for awhile now so guessing I've run something I shouldn't have to mess things up but can't remember exact scenario of commands when the problem first appeared.

Can you help with this problem?

Provide an answer of your own, or ask mogray for more information if necessary.

To post a message you must log in.