Closed dengste closed 11 years ago
It works here. Which version of bazaar are you using?
bzr --version says:
Bazaar (bzr) 2.5.1 Python interpreter: /usr/bin/python2 2.7.4 Python standard library: /usr/lib/python2.7
Seems the problem is the history_db plugin. I've installed it and still can't reproduce the issue.
I think the bug is in the hsitory_db plugin, but you can try this:
index bd25e08..a19174a 100755
--- a/contrib/remote-helpers/git-remote-bzr
+++ b/contrib/remote-helpers/git-remote-bzr
@@ -670,7 +670,7 @@ def do_list(parser):
for tag, revid in branch.tags.get_tag_dict().items():
try:
branch.revision_id_to_dotted_revno(revid)
- except bzrlib.errors.NoSuchRevision:
+ except:
continue
if not ref_is_valid(tag):
continue
Damn, I totally forgot about that plugin. I should've looked a bit more closely at the backtrace. I simply removed the plugin and now everything works. Sorry for the noise.
I'm using latest git-remote-bzr (8161a8479d) to access the Emacs bzr repository (locally on disk, cloned from bzr://bzr.savannah.gnu.org/emacs/trunk/). When I try to convert the Emacs repository to git, I get the following backtrace after a few minutes: