bzr-import doesn't notice tags created after the last change in trunk

Bug #504314 reported by Scott Kitterman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Medium
Jelmer Vernooij

Bug Description

Trying to move from svn to bzr, I did the following:

bzr svn-import -v http://www.openspf.org/svn/software/postfix-policyd-spf-perl

Afterwards, I checked to see that I had all the tags:

postfix-policyd-spf-perl/trunk$ bzr tags
1.00 2
1.01 3
1.02 4
1.03 5
1.05 6
1.06 7
1.07 8
1.08 11
1.08.1 ?
1.990 ?
2.000 ?
2.001 ?
2.002 ?
2.002.allinone ?
2.003 ?
2.004 ?
2.005 ?
2.006 ?

I didn't. 2.007 is the current release.

$ bzr branch -rtag:2.007 http://www.openspf.org/svn/software/postfix-policyd-spf-perl/trunk 2.007
Branched 1 revision(s).
Clearly the tag was visible.

[11:04:42] <jelmer> ScottK: Can you file a bug?
[11:04:59] <jelmer> It looks like the problem is that the tag was added after the latest revision of trunk
[11:05:13] <jelmer> and since the tag is not actually of a revision on trunk it wasn't picked up by svn-import
[11:06:34] <ScottK> jelmer: That fits, since the last thing I did was branch and tag the release.
...
[11:10:16] <jelmer> ScottK: Looks like this is a svn-import specific bug, bzr branch copies the 2.007 tag without problems

Related branches

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 504314] [NEW] bzr-import doesn't notice tags created after the last change in trunk

  status triaged
  importance medium

Thanks Scott.

Changed in bzr-svn:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Tres Seaver (tseaver) wrote :

FWIW, doing a 'bzr pull' of a branch from its SVN parent doesn't pick up that tag either.

 $ bzr branch svn+ssh://svn.repoze.org/compoze/trunk compoze-trunk
 ,,,
 $ cd compoze-trunk
 $ bzr tags
 0.1 ?
 0.2 13
 0.3 45
 0.3.1 51
 <hack on new stuff>
 $ bzr commit
 $ bzr push

Now make the tag using SVN:

 $ svn cp svn+ssh://<email address hidden>/svn/compoze/{trunk,tags/0.4}

and try to catch up:

 $ bzr pull
 Using saved parent location: svn+ssh://<email address hidden>/svn/compoze/trunk
 No revisions to pull.
 $ bzr tags
 0.1 ?
 0.2 13
 0.3 45
 0.3.1 51

but a fresh branch does see the new tag:

 $ cd ..
 $ bzr branch svn+http://svn.repoze.org/compoze/trunk compoze-trunk2
 ...
 $ cd compoze-trunk2
 $ bzr tags
 0.1 ?
 0.2 13
 0.3 45
 0.3.1 51
 0.4 82

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