Converting a svn repository with layout changes

Jelmer Vernooij jelmer at samba.org
Mon Apr 12 17:45:59 BST 2010


On Mon, 2010-04-12 at 18:53 +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:
> 
> bzr: ERROR: bzrlib.errors.NoSuchRevision: <bzrlib.plugins.svn.logwalker.CachingLogWalker object at 0xa8c548c> has no revision Revision number 66
> 
> the associated crash file lists this among plugins:
> 
>    svn                  /home/mg/.bazaar/plugins/svn [1.0.3dev]

This is odd. Did you perhaps edit the svn repository (svnadmin dump for
example?)?

"bzr svn-import" and "bzr branch" for both / and /trunk work here.

Alternatively you could try removing the cache
(~/.cache/bazaar/svn/<uuid>).

Cheers,

Jelmer



More information about the bazaar mailing list