[Pkg-bazaar-maint] Bug#512325: Bug#512325: bzr-svn: svn-import fails on a large SVN repository
Jelmer Vernooij
jelmer at samba.org
Tue Jan 20 20:30:12 UTC 2009
tags 512325 +upstream confirmed
forwarded https://bugs.launchpad.net/+bugs/318940
thanks
On Mon, 2009-01-19 at 19:11 +0100, Roland Mas wrote:
> Package: bzr-svn
> Version: 0.5.0~rc1+bzr2300-1
> Severity: normal
>
> This bug report is in two parts. I include the first part only for
> reference in case someone else stumbles across this report.
>
> -----
>
> First: what happens with 0.5.0~rc1+bzr2300-1 as of current
> experimental.
>
> ,----
> | guest at mirexpress:~$ bzr svn-import --keep file:///home/guest/gforge-svnrepo gforge-bzrrepo
> | Initialising Subversion metadata cache in /home/guest/.bazaar/svn-cache/c3c08832-fc22-4c88-9867-b2b84583e700
> | Using repository layout: trunk0
> | bzr: ERROR: Unable to find file id for child 'editreleases.php' in 'gforge/www/project/admin' in <RevisionMetadata for revision 999, path branches/Branch_gforge in repository 'c3c08832-fc22-4c88-9867-b2b84583e700'>.
> | guest at mirexpress:~$ svnlook youngest /home/guest/gforge-svnrepo
> | 6773
> | guest at mirexpress:~$ svnlook diff -r 999 /home/guest/gforge-svnrepo | diffstat
> | INSTALL | 93 +
> | README | 22
> | TARBALL | 196 ---
> |
> | [...]
> |
> | www/project/admin/editpackages.php.orig | 187 +++
> | www/project/admin/editpackages.php.rej | 43
> | www/project/admin/editreleases.php | 422 -------
> | www/project/admin/index.php | 10
> |
> | [...]
> |
> | 170 files changed, 17959 insertions(+), 4676 deletions(-)
> `----
>
> It should be noted that the gforge/www/project/admin/editreleases.php
> file is deleted by Subversion r999.
>
> -----
>
> Second: since it seems that bzr-svn has evolved recently, I branched
> from the upstream repository into ~guest/.bazaar/plugins/svn (with
> revision-info "2348 jelmer at samba.org-20090119062557-s8kzh34osrl8h6d1")
> and tried again (after removing gforge-bzrrepo). The previous problem
> seems to have been fixed, but I get another one:
>
> ,----
> | guest at mirexpress:~$ bzr svn-import --keep file:///home/guest/gforge-svnrepo gforge-bzrrepo
> | Using repository layout: trunk0
> | bzr: ERROR: bzrlib.errors.NoSuchRevision: KnitPackRepository('file:///home/guest/gforge-bzrrepo/.bzr/repository/') has no revision ('svn-v3-trunk0:6d150e1c-e21c-0410-8b89-9ee68aed362b:trunk:6765',)
> |
> | Traceback (most recent call last):
> | File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
> | return run_bzr(argv)
> | File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr
> | ret = run(*run_argv)
> | File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
> | return self.run(**all_cmd_args)
> | File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 853, in ignore_pipe
> | result = func(*args, **kwargs)
> | File "/home/guest/.bazaar/plugins/svn/__init__.py", line 284, in run
> | to_revnum=to_revnum, prefix=prefix)
> | File "/home/guest/.bazaar/plugins/svn/convert.py", line 262, in convert_repository
> | inter.fetch(needed=revmetas)
> | File "/home/guest/.bazaar/plugins/svn/fetch.py", line 1067, in fetch
> | self._fetch_revisions(needed, pb, use_replay=use_replay)
> | File "/home/guest/.bazaar/plugins/svn/fetch.py", line 997, in _fetch_revisions
> | editor = self._get_editor(revmeta, mapping)
> | File "/home/guest/.bazaar/plugins/svn/fetch.py", line 936, in _get_editor
> | self._get_inventory(revmeta.get_lhs_parent_revid(mapping)),
> | File "/home/guest/.bazaar/plugins/svn/fetch.py", line 930, in _get_inventory
> | return self.target.get_inventory(revid)
> | File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
> | result = unbound(self, *args, **kwargs)
> | File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1663, in get_inventory
> | return self.iter_inventories([revision_id]).next()
> | File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1681, in _iter_inventories
> | for text, revision_id in self._iter_inventory_xmls(revision_ids):
> | File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 1692, in _iter_inventory_xmls
> | raise errors.NoSuchRevision(self, record.key)
> | NoSuchRevision: KnitPackRepository('file:///home/guest/gforge-bzrrepo/.bzr/repository/') has no revision ('svn-v3-trunk0:6d150e1c-e21c-0410-8b89-9ee68aed362b:trunk:6765',)
> |
> | bzr 1.11rc1 on python 2.5.2 (linux2)
> | arguments: ['/usr/bin/bzr', 'svn-import', '--keep', 'file:///home/guest/gforge-svnrepo', 'gforge-bzrrepo']
> | encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fr_FR.UTF-8'
> | plugins:
> | bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.11]
> | gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.96.0.dev.1]
> | launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
> | netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
> | rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.4.2]
> | svn /home/guest/.bazaar/plugins/svn [0.5rc1]
> | *** Bazaar has encountered an internal error.
> | Please report a bug at https://bugs.launchpad.net/bzr/+filebug
> | including this traceback, and a description of what you
> | were doing when the error occurred.
> `----
>
> A copy of the Subversion repository (obtained through svnsync) can be
> found at
> http://www.placard.fr.eu.org/~roland/tmp/gforge-svnrepo.tar.bz2
>
> Roland.
>
> -- System Information:
> Debian Release: 5.0
> APT prefers unstable
> APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages bzr-svn depends on:
> ii bzr 1.11~rc1-1 easy to use distributed version co
> ii libc6 2.7-18 GNU C Library: Shared libraries
> ii libsvn1 1.5.1dfsg1-2 Shared libraries used by Subversio
> ii python 2.5.2-3 An interactive high-level object-o
> ii python-central 0.6.8 register and build utility for Pyt
> ii python-pysqlite2 2.5.0-2 Python interface to SQLite 3
>
> Versions of packages bzr-svn recommends:
> ii bzr-rebase 0.4.2-1 Rebase plugin for Bazaar
>
> bzr-svn suggests no packages.
>
> -- no debconf information
>
>
>
> _______________________________________________
> Pkg-bazaar-maint mailing list
> Pkg-bazaar-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-bazaar-maint
--
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-bazaar-maint/attachments/20090120/96d4b0ff/attachment-0001.pgp
More information about the Pkg-bazaar-maint
mailing list