Converting a svn repository with layout changes

Marius Gedminas marius at pov.lt
Wed Apr 14 17:27:53 BST 2010


On Mon, Apr 12, 2010 at 06:53:08PM +0300, Marius Gedminas wrote:
> On Mon, Apr 12, 2010 at 06:34:51PM +0300, Marius Gedminas wrote:
> > 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
> 
> which I did, only to get the same error:

Nuking ~/.cache/bazaar/svn and re-running bzr branch with the latest
bzr-svn fixed this error.  (I should've thought about that myself!)

Now

$ bzr branch http://mg.pov.lt/eazysvn/svn eazysvn

gives me a repository containing 66 revisions, half of which contain
directories named trunk/, branches/ and tags/

$ bzr branch http://mg.pov.lt/eazysvn/svn/trunk eazysvn

gives me a repository containing 15 revisions, losing old history.

Marius Gedminas
-- 
WARN_(accel)("msg null; should hang here to be win compatible\n");
        -- WINE source code
-------------- 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/20100414/e04ecd3d/attachment.pgp 


More information about the bazaar mailing list