Converting a svn repository with layout changes
Jelmer Vernooij
jelmer at samba.org
Wed Apr 14 17:33:36 BST 2010
On Wed, 2010-04-14 at 19:27 +0300, Marius Gedminas wrote:
> 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.
This is correct - see the output of:
svn log http://mg.pov.lt/eazysvn/svn/trunk
which also reports just 15 revisions.
Cheers,
Jelmer
More information about the bazaar
mailing list