Ticket #2599 (closed defect: duplicate)
can't import a repo with a copied-from-before-then-modified state
| Reported by: | radix@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.9.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
A repository that's had the following done:
foo/bar/ exists at revN svn rm foo; svn commit svn cp -r 1 svn://../foo foo svn propset svn:ignore 'blargh' foo/bar svn commit
can't be imported by trac. A tar file containing a dump of such a repository and the actual command-history leading up to it is at http://twistedmatrix.com/users/exarkun/initenv-bug.tar
The error that it shows is something like:
Indexing repository
Failed to initialize environment. ("File not found: revision 2, path '/foo/bar'", 160013)
Traceback (most recent call last):
File "/home/trac/usr/lib/python2.4/site-packages/trac/scripts/admin.py", line 617, in do_initenv
repos.sync()
File "/home/trac/usr/lib/python2.4/site-packages/trac/versioncontrol/cache.py", line 83, in sync
for path,kind,action,base_path,base_rev in changeset.get_changes():
File "/home/trac/usr/lib/python2.4/site-packages/trac/versioncontrol/svn_fs.py", line 488, in get_changes
change.base_path, pool())
SubversionException: ("File not found: revision 2, path '/foo/bar'", 160013)
This problem showed itself when trying to import the Twisted repository.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


