I tried the "push -r 1 --overwrite" trick with bzr-svn 0.5 RC1 and it doesn't work:
bzr push -r 1 -v --overwrite svn+http://localhost/svn/test/trunk/gui
The svn+ syntax is deprecated, use http://localhost/svn/test/trunk/gui instead.
Initialising Subversion metadata cache in /home/enigma/.bazaar/svn-cache/27530666-c0bc-4525-b9dd-495b6ed8d586
Upgrade to Subversion 1.5 or higher for faster retrieving of revision properties.
bzr: ERROR: exceptions.AssertionError: revprops: ['bzr:revision-id', 'bzr:user-agent', 'bzr:timestamp', 'bzr:root', 'bzr:committer', 'svn:log', 'bzr:revprop:branch-nick', 'bzr:file-ids', 'bzr:base-revision', 'bzr:revno', 'bzr:mapping-version']
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 893, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 839, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 539, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 913, in run
use_existing_dir=use_existing_dir)
File "/usr/lib/python2.5/site-packages/bzrlib/push.py", line 162, in _show_push_branch
stop_revision=revision_id)
File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1799, in push
_override_hook_source_branch=_override_hook_source_branch)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 2508, in _run_with_write_locked_target
result = callable(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1838, in _push_with_bound_branches
result = self._basic_push(target, overwrite, stop_revision)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1861, in _basic_push
graph=graph)
File "/home/enigma/.bazaar/plugins/svn/branch.py", line 458, in update_revisions
_push_merged, _override_svn_revprops)
File "/home/enigma/.bazaar/plugins/svn/branch.py", line 479, in _push_missing_revisions
override_svn_revprops=_override_svn_revprops)
File "/home/enigma/.bazaar/plugins/svn/commit.py", line 986, in push
override_svn_revprops=override_svn_revprops)
File "/home/enigma/.bazaar/plugins/svn/commit.py", line 944, in push_revision_tree
revid = builder.commit(rev.message)
File "/home/enigma/.bazaar/plugins/svn/commit.py", line 591, in commit
"revprops: %r" % self._svn_revprops.keys()
AssertionError: revprops: ['bzr:revision-id', 'bzr:user-agent', 'bzr:timestamp', 'bzr:root', 'bzr:committer', 'svn:log', 'bzr:revprop:branch-nick', 'bzr:file-ids', 'bzr:base-revision', 'bzr:revno', 'bzr:mapping-version']
bzr 1.10 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'push', '-r', '1', '-v', '--overwrite', 'svn+http://localhost/svn/test/trunk/gui']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.10]
gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.95.0.final.1]
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
rebase /home/enigma/.bazaar/plugins/rebase [0.4dev]
svn /home/enigma/.bazaar/plugins/svn [0.5.0.rc.1]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
I tried the "push -r 1 --overwrite" trick with bzr-svn 0.5 RC1 and it doesn't work: localhost/ svn/test/ trunk/gui
bzr push -r 1 -v --overwrite svn+http://
The svn+ syntax is deprecated, use http:// localhost/ svn/test/ trunk/gui instead. .bazaar/ svn-cache/ 27530666- c0bc-4525- b9dd-495b6ed8d5 86 AssertionError: revprops: ['bzr:revision-id', 'bzr:user-agent', 'bzr:timestamp', 'bzr:root', 'bzr:committer', 'svn:log', 'bzr:revprop: branch- nick', 'bzr:file-ids', 'bzr:base- revision' , 'bzr:revno', 'bzr:mapping- version' ]
Initialising Subversion metadata cache in /home/enigma/
Upgrade to Subversion 1.5 or higher for faster retrieving of revision properties.
bzr: ERROR: exceptions.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 893, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 839, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 539, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 913, in run existing_ dir=use_ existing_ dir) python2. 5/site- packages/ bzrlib/ push.py" , line 162, in _show_push_branch revision= revision_ id) python2. 5/site- packages/ bzrlib/ decorators. py", line 138, in read_locked python2. 5/site- packages/ bzrlib/ branch. py", line 1799, in push hook_source_ branch= _override_ hook_source_ branch) python2. 5/site- packages/ bzrlib/ branch. py", line 2508, in _run_with_ write_locked_ target python2. 5/site- packages/ bzrlib/ branch. py", line 1838, in _push_with_ bound_branches push(target, overwrite, stop_revision) python2. 5/site- packages/ bzrlib/ branch. py", line 1861, in _basic_push enigma/ .bazaar/ plugins/ svn/branch. py", line 458, in update_revisions svn_revprops) enigma/ .bazaar/ plugins/ svn/branch. py", line 479, in _push_missing_ revisions svn_revprops= _override_ svn_revprops) enigma/ .bazaar/ plugins/ svn/commit. py", line 986, in push svn_revprops= override_ svn_revprops) enigma/ .bazaar/ plugins/ svn/commit. py", line 944, in push_revision_tree commit( rev.message) enigma/ .bazaar/ plugins/ svn/commit. py", line 591, in commit revprops. keys() branch- nick', 'bzr:file-ids', 'bzr:base- revision' , 'bzr:revno', 'bzr:mapping- version' ]
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
use_
File "/usr/lib/
stop_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
_override_
File "/usr/lib/
result = callable(*args, **kwargs)
File "/usr/lib/
result = self._basic_
File "/usr/lib/
graph=graph)
File "/home/
_push_merged, _override_
File "/home/
override_
File "/home/
override_
File "/home/
revid = builder.
File "/home/
"revprops: %r" % self._svn_
AssertionError: revprops: ['bzr:revision-id', 'bzr:user-agent', 'bzr:timestamp', 'bzr:root', 'bzr:committer', 'svn:log', 'bzr:revprop:
bzr 1.10 on python 2.5.2 (linux2) localhost/ svn/test/ trunk/gui'] python2. 5/site- packages/ bzrlib/ plugins/ bzrtools [1.10] python2. 5/site- packages/ bzrlib/ plugins/ gtk [0.95.0.final.1] python2. 5/site- packages/ bzrlib/ plugins/ launchpad [unknown] .bazaar/ plugins/ rebase [0.4dev] .bazaar/ plugins/ svn [0.5.0.rc.1] /bugs.launchpad .net/bzr/ +filebug
arguments: ['/usr/bin/bzr', 'push', '-r', '1', '-v', '--overwrite', 'svn+http://
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
rebase /home/enigma/
svn /home/enigma/
*** 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.