"bzr: ERROR: libsvn._core.SubversionException" committing to SVN after top-level "branches" directory has been removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
This repository used to be trunk/tags/
Now committing from a bzr-svn checkout crashes when it (apparently) is trying to do a PROPFIND on the branches directory. Clearing the subversion cache and removing subversion.conf doesn't help:
$ bzr commit -m "Note that some history is in CVS."
Committing to: svn+https:/
modified NEWS
bzr: ERROR: libsvn.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
author=author)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
revprops=
File "/usr/lib/
revision_
File "/usr/lib/
return inter.fetch(
File "/home/
self.
File "/home/
while not self.target.
File "/home/
(path, revnum, _) = self.lookup_
File "/home/
return self.get_
File "/home/
for entry_revid, branch, revno, mapping in self.actual.
File "/home/
for (branch, revno) in self.repos.
File "/home/
for (project, branch, nick) in layout.
File "/home/
find_children):
File "/home/
return expand_
File "/home/
children = get_children(path)
File "/home/
dirents = self.repository
File "/home/
return conn.get_dir(path, revnum, pool, kind)
File "/home/
raise convert_error(e)
SubversionExcep
bzr 1.5 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'commit', '-m', 'Note that some history is in CVS.']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bisect /home/wjl/
bzrtools /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
loom /home/wjl/
rebase /home/wjl/
stats /home/wjl/
svn /home/wjl/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
$ cat ~/.bazaar/
[945dce38-
locations = svn+https:/
branching-scheme = trunk0
branching-
$ bzr info
Checkout (format: rich-root-pack)
Location:
checkout root: .
checkout of branch: svn+https:/
$ bzr revno ~/.bazaar/
1179
Please let me know if I can provide more info. The repository itself is a public one available on sourceforge, so you can check out it's history if that helps. I can also give write permission if it would help for testing.
Related branches
Changed in bzr-svn: | |
assignee: | nobody → jelmer |
importance: | Undecided → High |
milestone: | none → 0.4.11 |
status: | New → Confirmed |
Changed in bzr-svn: | |
status: | Confirmed → Fix Committed |
Changed in bzr-svn: | |
status: | Fix Committed → Fix Released |
I appear to have the same problem. One (minor?) difference: unrelated projects in the same svnrepo that are missing branches or tags seem to be preventing me from committing into projects that *do* have the normal trunk/branches/tags layout.
Unfortunately, this is on my company's private repo, so I can't easily give you access for debug purposes. Basically, I've got two projects that really matter to me, and a large number of directories in the root level that don't. Many of the root level directories do not have trunk/branches/ tags, but the two projects I care about do.
$ head -4 /home/nevans/ .bazaar/ subversion. conf 142b-0410- 8fcf-b82ac621bf 97] /svn.mdlogix. com;svn+ https:/ /svn.mdlogix. com scheme- mandatory = False /svn.mdlogix. com/crms/ trunk /svn.mdlogix. com/crms/ branches/ db-agnostic _core.Subversio nException: ("PROPFIND request failed on '/!svn/ bc/41790/ xenconf/ branches' ", 175007)
[0487d25d-
locations = https:/
branching-scheme = trunk1
branching-
$ bzr info | grep branch
checkout of branch: svn+https:/
$ bzr commit -m "merged in latest from trunk"
Committing to: svn+https:/
modified ...
modified ...
modified ...
...
bzr: ERROR: libsvn.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 846, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 797, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 499, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 2364, in run python2. 5/site- packages/ bzrlib/ decorators. py", line 165, in write_locked python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 240, in commit commit( self, message, revprops, *args, **kwargs) python2. 5/site- packages/ bzrlib/ decorators. py", line 165, in write_locked python2. 5/site- packages/ bzrlib/ mutabletree. py", line 197, in commit revprops, *args, **kwargs) python2. 5/site- packages/ bzrlib/ commit. py", line 387, in commit id=self. rev_id) python2. 5/site- packages/ bzrlib/ repository. py", line 953, in fetch revision_ id=revision_ id, pb=pb, find_ghosts= find_ghosts) nevans/ .bazaar/ plugins/ svn/commit. py", line 791, in fetch copy_content( revision_ id=revision_ id, pb=pb) nevans/ .bazaar/ plugins/ svn/commit. py", line 755, in copy_content has_revision( revision_ id): nevans/ .bazaar/ plugins/ svn/repository. py", line 373, in has_revision revision_ id(revision_ id) nevans/ .bazaar/ plugins/ svn/repository. py", line 553, in lookup_revision_id revmap( ).get_branch_ revnum( revid, layout) nevans/ .bazaar/ plugins/ svn/revids. py", line 172, in get_branch_revnum discover_ revids( layout, s...
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
author=author)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
result = WorkingTree3.
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
revprops=
File "/usr/lib/
revision_
File "/usr/lib/
return inter.fetch(
File "/home/
self.
File "/home/
while not self.target.
File "/home/
(path, revnum, _) = self.lookup_
File "/home/
return self.get_
File "/home/
for entry_revid, branch, revno, mapping in self.actual.