a breaking instance of bzr push
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Medium
|
Jelmer Vernooij |
Bug Description
This seems much simpler than the other similar bugs. I checked out pydoctor using
bzr get http://
I made a trivial change (deleted an item in doc/todo.txt), did 'bzr ci' and then 'bzr push http://
This was the result:
$ bzr push http://
This transport does not update the working tree of: http://
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/Library/
return run_bzr(argv)
File "/Library/
ret = run(*run_argv)
File "/Library/
return self.run(
File "/Library/
push_result = br_from.push(br_to, overwrite)
File "/Library/
return unbound(self, *args, **kwargs)
File "/Library/
stop_revision, _hook_master=
File "/Library/
return unbound(self, *args, **kwargs)
File "/Library/
target.
File "/Users/
push_
File "/Users/
new_tree = target.
File "/Users/
return SvnRevisionTree
File "/Users/
self.id_map = repository.
File "/Users/
self.
File "/Users/
revmap[p] = map[p][0]
KeyError: u'bin/makedocsys'
bzr 0.15.0candidate0 on python 2.4.1.final.0 (darwin)
arguments: ['/Library/
** please send this report to <email address hidden>
Thanks,
mwh
Changed in bzr-svn: | |
assignee: | nobody → jelmer |
status: | Unconfirmed → Confirmed |
Changed in bzr-svn: | |
importance: | Undecided → Medium |
Changed in bzr-svn: | |
status: | Fix Committed → Fix Released |
I dug a little into this and found that it seems to be something to do with the history of the repository. The call to follow_ branch_ history in FileIdMap.get_map() doesn't seem to be returning enough of the history, and that's probably because the history of the repo looks a little like this:
/user/mwh/ docextractor was created docextractor was svn mv-ed to /user/mwh/pydoctor pydoctor/ trunk
/user/mwh/
the contents of /user/mwh/pydoctor were svn mv-ed to /user/mwh/
follow_ branch_ history doesn't seem to be following the mv from docextractor to pydoctor.
I don't really see why the ancient history of the repo is relevant, but that's probably just my limited understanding :-)
Of course, you've probably figured out this much already...