I checked out a branch with bzr v0.91 and bzr-svn 0.4.3, but was unable to commit back to the repository due to a self-signed SSL certificate. The solution was to checkout the 0.4 development branch, which requires bzr v0.92. While waiting for v0.92 to hit the repositories, I unbound my branch of the repository so I could commit changes.
When I obtained bzr v0.92rc1, I rebound the branch to the repository, however, I found myself unable to do a bzr push to it:
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 802, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 758, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 812, in run
push_result = br_from.push(br_to, overwrite)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 127, in read_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1534, in push
_override_hook_source_branch=_override_hook_source_branch)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1576, in _push_with_bound_branches
result = self._basic_push(target, overwrite, stop_revision)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1595, in _basic_push
target.update_revisions(self, stop_revision)
File "/home/chris/.bazaar/plugins/svn/branch.py", line 363, in update_revisions
push(self, other, revid)
File "/home/chris/.bazaar/plugins/svn/commit.py", line 705, in push
builder.commit(rev.message)
File "/home/chris/.bazaar/plugins/svn/commit.py", line 488, in commit
branch_batons[-1])
File "/home/chris/.bazaar/plugins/svn/commit.py", line 381, in _dir_process
self._dir_process(new_child_path, child_ie.file_id, child_baton)
File "/home/chris/.bazaar/plugins/svn/commit.py", line 340, in _dir_process
self.editor.close_file(child_baton, None, self.pool)
File "/home/chris/.bazaar/plugins/svn/errors.py", line 97, in convert
raise convert_error(e)
SubversionException: ('Invalid diff stream: insn 0 cannot be decoded', 185003)
** Please send this report to <email address hidden>
with a description of what you were doing when the
error occurred.
----
Next, I did a bzr up
----
chris@feathers:~/development/oak$ bzr up
R legacy/README.txt => README.txt
R legacy/all_orthomcl_11.out => all_orthomcl_11.out
R legacy/c58geneList.txt => c58geneList.txt
R legacy/oa.pl => oa.pl
R legacy/oaAtu.html => oaAtu.html
R legacy/oaAvi.html => oaAvi.html
R legacy/oaraw.out => oaraw.out
R legacy/oaraw.pl => oaraw.pl
R legacy/oaraw2.out => oaraw2.out
R legacy/subs.pl => subs.pl
All changes applied successfully.
R README.txt => legacy/README.txt
R all_orthomcl_11.out => legacy/all_orthomcl_11.out
R c58geneList.txt => legacy/c58geneList.txt
R oa.pl => legacy/oa.pl
R oaAtu.html => legacy/oaAtu.html
R oaAvi.html => legacy/oaAvi.html
R oaraw.out => legacy/oaraw.out
R oaraw.pl => legacy/oaraw.pl
R oaraw2.out => legacy/oaraw2.out
R subs.pl => legacy/subs.pl
All changes applied successfully.
Updated to revision 3.
Your local commits will now show as pending merges with 'bzr status', and can be committed with 'bzr commit'.
chris@feathers:~/development/oak$ bzr status
renamed:
README.txt => legacy/README.txt
all_orthomcl_11.out => legacy/all_orthomcl_11.out
c58geneList.txt => legacy/c58geneList.txt
oa.pl => legacy/oa.pl
oaAtu.html => legacy/oaAtu.html
oaAvi.html => legacy/oaAvi.html
oaraw.out => legacy/oaraw.out
oaraw.pl => legacy/oaraw.pl
oaraw2.out => legacy/oaraw2.out
subs.pl => legacy/subs.pl
unknown:
c58.gbk.zip
c58_At.gbk
c58_Ti.gbk
c58_c1.gbk
c58_c2.gbk
k84.gbk.zip
parsers.py
s4.gbk.zip
tests/
pending merges:
Chris Lasher 2007-10-29 Moving all to legacy.
----
Finally, I tried a bzr commit, but wound up with the same exception.
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 802, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 758, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2315, in run
author=author)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 244, in commit
result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
return unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 187, in commit
revprops=revprops, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 375, in commit
revision_id=self.rev_id)
File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line 858, in fetch
return inter.fetch(revision_id=revision_id, pb=pb)
File "/home/chris/.bazaar/plugins/svn/commit.py", line 779, in fetch
self.copy_content(revision_id=revision_id, pb=pb)
File "/home/chris/.bazaar/plugins/svn/commit.py", line 774, in copy_content
builder.commit(rev.message)
File "/home/chris/.bazaar/plugins/svn/commit.py", line 488, in commit
branch_batons[-1])
File "/home/chris/.bazaar/plugins/svn/commit.py", line 381, in _dir_process
self._dir_process(new_child_path, child_ie.file_id, child_baton)
File "/home/chris/.bazaar/plugins/svn/commit.py", line 340, in _dir_process
self.editor.close_file(child_baton, None, self.pool)
File "/home/chris/.bazaar/plugins/svn/errors.py", line 97, in convert
raise convert_error(e)
SubversionException: ('Invalid diff stream: insn 0 cannot be decoded', 185003)
bzr 0.92.0.candidate.1 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'ci', '-m', 'Moving all to legacy.']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
multiparent /usr/lib/python2.5/site-packages/bzrlib/plugins/multiparent.pyc [unknown]
svn /home/chris/.bazaar/plugins/svn [0.4.4dev0]
** Please send this report to <email address hidden>
with a description of what you were doing when the
error occurred.
----
Please let me know what other information I can provide to help with this bug.
I checked out a branch with bzr v0.91 and bzr-svn 0.4.3, but was unable to commit back to the repository due to a self-signed SSL certificate. The solution was to checkout the 0.4 development branch, which requires bzr v0.92. While waiting for v0.92 to hit the repositories, I unbound my branch of the repository so I could commit changes.
When I obtained bzr v0.92rc1, I rebound the branch to the repository, however, I found myself unable to do a bzr push to it:
----
chris@feathers: ~/development/ oak$ bzr bind svn+https:/ /svn.vbi. vt.edu/ svn/oak/ trunk/ ~/development/ oak$ bzr push /svn.vbi. vt.edu/ svn/oak/ trunk _core.Subversio nException: ('Invalid diff stream: insn 0 cannot be decoded', 185003)
chris@feathers:
Using saved location: svn+https:/
bzr: ERROR: libsvn.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 802, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 758, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 492, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 812, in run python2. 5/site- packages/ bzrlib/ decorators. py", line 127, in read_locked python2. 5/site- packages/ bzrlib/ branch. py", line 1534, in push hook_source_ branch= _override_ hook_source_ branch) python2. 5/site- packages/ bzrlib/ branch. py", line 1576, in _push_with_ bound_branches push(target, overwrite, stop_revision) python2. 5/site- packages/ bzrlib/ branch. py", line 1595, in _basic_push update_ revisions( self, stop_revision) chris/. bazaar/ plugins/ svn/branch. py", line 363, in update_revisions chris/. bazaar/ plugins/ svn/commit. py", line 705, in push commit( rev.message) chris/. bazaar/ plugins/ svn/commit. py", line 488, in commit batons[ -1]) chris/. bazaar/ plugins/ svn/commit. py", line 381, in _dir_process _dir_process( new_child_ path, child_ie.file_id, child_baton) chris/. bazaar/ plugins/ svn/commit. py", line 340, in _dir_process editor. close_file( child_baton, None, self.pool) chris/. bazaar/ plugins/ svn/errors. py", line 97, in convert tion: ('Invalid diff stream: insn 0 cannot be decoded', 185003)
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
push_result = br_from.push(br_to, overwrite)
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
_override_
File "/usr/lib/
result = self._basic_
File "/usr/lib/
target.
File "/home/
push(self, other, revid)
File "/home/
builder.
File "/home/
branch_
File "/home/
self.
File "/home/
self.
File "/home/
raise convert_error(e)
SubversionExcep
bzr 0.92.0.candidate.1 on python 2.5.1.final.0 (linux2) python2. 5/site- packages/ bzrlib/ plugins/ launchpad [unknown] python2. 5/site- packages/ bzrlib/ plugins/ multiparent. pyc [unknown] .bazaar/ plugins/ svn [0.4.4dev0]
arguments: ['/usr/bin/bzr', 'push']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
multiparent /usr/lib/
svn /home/chris/
** Please send this report to <email address hidden>
with a description of what you were doing when the
error occurred.
----
Next, I did a bzr up
----
chris@feathers: ~/development/ oak$ bzr up all_orthomcl_ 11.out => all_orthomcl_11.out c58geneList. txt => c58geneList.txt all_orthomcl_ 11.out c58geneList. txt ~/development/ oak$ bzr status 11.out => legacy/ all_orthomcl_ 11.out c58geneList. txt
R legacy/README.txt => README.txt
R legacy/
R legacy/
R legacy/oa.pl => oa.pl
R legacy/oaAtu.html => oaAtu.html
R legacy/oaAvi.html => oaAvi.html
R legacy/oaraw.out => oaraw.out
R legacy/oaraw.pl => oaraw.pl
R legacy/oaraw2.out => oaraw2.out
R legacy/subs.pl => subs.pl
All changes applied successfully.
R README.txt => legacy/README.txt
R all_orthomcl_11.out => legacy/
R c58geneList.txt => legacy/
R oa.pl => legacy/oa.pl
R oaAtu.html => legacy/oaAtu.html
R oaAvi.html => legacy/oaAvi.html
R oaraw.out => legacy/oaraw.out
R oaraw.pl => legacy/oaraw.pl
R oaraw2.out => legacy/oaraw2.out
R subs.pl => legacy/subs.pl
All changes applied successfully.
Updated to revision 3.
Your local commits will now show as pending merges with 'bzr status', and can be committed with 'bzr commit'.
chris@feathers:
renamed:
README.txt => legacy/README.txt
all_orthomcl_
c58geneList.txt => legacy/
oa.pl => legacy/oa.pl
oaAtu.html => legacy/oaAtu.html
oaAvi.html => legacy/oaAvi.html
oaraw.out => legacy/oaraw.out
oaraw.pl => legacy/oaraw.pl
oaraw2.out => legacy/oaraw2.out
subs.pl => legacy/subs.pl
unknown:
c58.gbk.zip
c58_At.gbk
c58_Ti.gbk
c58_c1.gbk
c58_c2.gbk
k84.gbk.zip
parsers.py
s4.gbk.zip
tests/
pending merges:
Chris Lasher 2007-10-29 Moving all to legacy.
----
Finally, I tried a bzr commit, but wound up with the same exception.
----
chris@feathers: ~/development/ oak$ bzr ci -m "Moving all to legacy." /svn.vbi. vt.edu/ svn/oak/ trunk". all_orthomcl_ 11.out c58geneList. txt _core.Subversio nException: ('Invalid diff stream: insn 0 cannot be decoded', 185003)
Committing revision 4 to "svn+https:/
renamed README.txt => legacy/README.txt
renamed all_orthomcl_11.out => legacy/
renamed c58geneList.txt => legacy/
renamed oa.pl => legacy/oa.pl
renamed oaAtu.html => legacy/oaAtu.html
renamed oaAvi.html => legacy/oaAvi.html
renamed oaraw.out => legacy/oaraw.out
renamed oaraw.pl => legacy/oaraw.pl
renamed oaraw2.out => legacy/oaraw2.out
renamed subs.pl => legacy/subs.pl
bzr: ERROR: libsvn.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 802, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 758, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 492, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 2315, in run python2. 5/site- packages/ bzrlib/ decorators. py", line 165, in write_locked python2. 5/site- packages/ bzrlib/ workingtree_ 4.py", line 244, 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 187, in commit revprops, *args, **kwargs) python2. 5/site- packages/ bzrlib/ commit. py", line 375, in commit id=self. rev_id) python2. 5/site- packages/ bzrlib/ repository. py", line 858, in fetch revision_ id=revision_ id, pb=pb) chris/. bazaar/ plugins/ svn/commit. py", line 779, in fetch copy_content( revision_ id=revision_ id, pb=pb) chris/. bazaar/ plugins/ svn/commit. py", line 774, in copy_content commit( rev.message) chris/. bazaar/ plugins/ svn/commit. py", line 488, in commit batons[ -1]) chris/. bazaar/ plugins/ svn/commit. py", line 381, in _dir_process _dir_process( new_child_ path, child_ie.file_id, child_baton) chris/. bazaar/ plugins/ svn/commit. py", line 340, in _dir_process editor. close_file( child_baton, None, self.pool) chris/. bazaar/ plugins/ svn/errors. py", line 97, in convert tion: ('Invalid diff stream: insn 0 cannot be decoded', 185003)
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/
builder.
File "/home/
branch_
File "/home/
self.
File "/home/
self.
File "/home/
raise convert_error(e)
SubversionExcep
bzr 0.92.0.candidate.1 on python 2.5.1.final.0 (linux2) python2. 5/site- packages/ bzrlib/ plugins/ launchpad [unknown] python2. 5/site- packages/ bzrlib/ plugins/ multiparent. pyc [unknown] .bazaar/ plugins/ svn [0.4.4dev0]
arguments: ['/usr/bin/bzr', 'ci', '-m', 'Moving all to legacy.']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
multiparent /usr/lib/
svn /home/chris/
** Please send this report to <email address hidden>
with a description of what you were doing when the
error occurred.
----
Please let me know what other information I can provide to help with this bug.