copied invalid subversion metadata causes NoSuchRevision

Bug #533308 reported by Nils Durner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Triaged
Low
Unassigned

Bug Description

>bzr svn-import http://svn.apache.org/repos/asf/subversion

Importing branches with prefix /subversion/
Using repository layout: trunk
bzr: ERROR: bzrlib.errors.NoSuchRevision: CHKInventoryRepository('file:///E:/tem
p/bzr-svn/subversion/.bzr/repository/') has no revision ('<email address hidden>
210031219-74vd608op3jvp2qe',)

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 842, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1037, in run_bzr
  File "bzrlib\commands.pyo", line 654, in run_argv_aliases
  File "C:/Programme/Bazaar/plugins\svn\commands.py", line 188, in run
  File "C:/Programme/Bazaar/plugins\svn\convert.py", line 365, in convert_reposi
tory
  File "C:/Programme/Bazaar/plugins\svn\convert.py", line 242, in __init__
  File "C:/Programme/Bazaar/plugins\svn\convert.py", line 290, in _fetch_to_shar
ed_repo
  File "C:/Programme/Bazaar/plugins\svn\fetch.py", line 1279, in fetch
  File "C:/Programme/Bazaar/plugins\svn\fetch.py", line 1201, in _fetch_revision
s
  File "C:/Programme/Bazaar/plugins\svn\fetch.py", line 1115, in _get_editor
  File "C:/Programme/Bazaar/plugins\svn\fetch.py", line 1100, in _get_inventory
  File "bzrlib\decorators.pyo", line 138, in read_locked
  File "bzrlib\repository.pyo", line 2358, in get_inventory
  File "bzrlib\repofmt\groupcompress_repo.pyo", line 896, in _iter_inventories
NoSuchRevision: CHKInventoryRepository('file:///E:/temp/bzr-svn/subversion/.bzr/
repository/') has no revision ('<email address hidden>
',)

bzr 2.0.4 on python 2.5.4 (Windows-XP-5.1.2600-SP3)
arguments: ['bzr', 'svn-import', 'http://svn.apache.org/repos/asf/subversion']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Programme\Bazaar\plugins\bzrtools [2.0.1]
  explorer C:\Programme\Bazaar\plugins\explorer [0.8.3]
  launchpad C:\Programme\Bazaar\plugins\launchpad [2.0.4]
  netrc_credential_store C:\Programme\Bazaar\plugins\netrc_credential_store [2.0
.4]
  qbzr C:\Programme\Bazaar\plugins\qbzr [0.14.6]
  rebase C:\Programme\Bazaar\plugins\rebase [0.5.4]
  svn C:\Programme\Bazaar\plugins\svn [1.0.0]
  upload C:\Programme\Bazaar\plugins\upload [1.0.0dev]
  xmloutput C:\Programme\Bazaar\plugins\xmloutput [0.8.5]

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Nils Durner (ndurner) wrote :

Reproducable with Bazaar 2.1

Revision history for this message
Andrew Bennetts (spiv) wrote :

Seems likely to be a bzr-svn issue. I'm sure Jelmer will assign this back to bzr if I'm wrong :)

affects: bzr → bzr-svn
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Yeah, it's indeed a bzr-svn issue.

The bzr-svn metadata was migrated between svn repositories using svndump, and is incorrect now.

Newer versions of bzr-svn add more info to be able to detect invalid data, but unfortunately we can't retroactively add that sort of data for older bzr-svn versions.

Changed in bzr-svn:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

So our ownly option really is to back up and try to recover from this error.

Jelmer Vernooij (jelmer)
summary: - svn-import: NoSuchRevision
+ copied invalid subversion metadata causes NoSuchRevision
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.