Converting a svn repository with layout changes
Marius Gedminas
marius at pov.lt
Mon Apr 12 16:34:51 BST 2010
On Sat, Apr 10, 2010 at 06:37:10PM +0200, Jelmer Vernooij wrote:
> Hi Marius,
>
> On Sat, 2010-04-10 at 19:01 +0300, Marius Gedminas wrote:
> > http://mg.pov.lt/eazysvn/svn is an Subversion repository that used the
> > trivial "everything in root" layout for 49 revisions, then switched to
> > trunk/ + branches/ + tags/ for the rest.
> >
> > bzr-svn chokes on that:
> >
> > $ bzr branch http://mg.pov.lt/eazysvn/svn eazysvn
> > bzr: ERROR: bzrlib.errors.NoSuchRevision: <bzrlib.plugins.svn.logwalker.CachingLogWalker object at 0xa94254c> has no revision Revision number 66
> I don't get that error here - what version of bzr-svn are you using?
1.0.2-2~bazaar2~karmic1, which is the latest one available from the Bazaar PPA.
I can try to check out the latest bzr-svn into my ~/.bazaar/plugins
(although that kind of thing tends to cause pain later when I apt-get
upgrade bzr and all the plugins stop working).
> Wouldn't you want 'bzr svn-import --layout trunk
> http://mg.pov.lt/eazysvn/svn eazysvn' or 'bzr branch
> http://mg.pov.lt/eazysvn/svn/trunk eazysvn-trunk' if this repository is
> now using trunk/-style branch naming?
Maybe. There are no branches, just trunk and a few tags that I can
recreate by hand. I'd be happy just to have a full history of trunk
in bzr.
$ bzr svn-import --layout trunk http://mg.pov.lt/eazysvn/svn eazysvn
Using repository layout: trunk0
bzr: ERROR: bzrlib.errors.NoSuchRevision: <bzrlib.plugins.svn.logwalker.CachingLogWalker object at 0xa584b8c> has no revision Revision number 66
$ bzr svn-import --layout trunk http://mg.pov.lt/eazysvn/svn/trunk eazysvn
bzr: ERROR: http://mg.pov.lt/eazysvn/svn/trunk appears to contain a branch. For individual branches, use 'bzr branch'.
and you already know what happens when I try to use bzr branch.
Marius Gedminas
--
PCMCIA - People Can't Memorize Computer Industry Acronyms
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100412/4519e3dc/attachment.pgp
More information about the bazaar
mailing list