bzr push to stacked branch returns error Revision <x> not in <y>
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Martin Pool |
Bug Description
I recieved the following using Bazaar (bzr) 1.9dev
Using saved push location: bzr+ssh://<email address hidden>
bzr: ERROR: Revision {<email address hidden>} not present in "purchase.
Here's the related lines in bzr.log:
0.052 encoding stdout as sys.stdout encoding 'UTF-8'
0.053 bzr arguments: [u'push']
0.054 looking for plugins in /home/john/
0.384 looking for plugins in /usr/lib/
0.384 Plugin name avahi already loaded
0.384 Plugin name __init__ already loaded
0.384 Plugin name dbus already loaded
0.384 Plugin name __init__ already loaded
0.453 encoding stdout as sys.stdout encoding 'UTF-8'
0.686 ssh implementation is OpenSSH
10.354 fetch up to rev {<email address hidden>}
17.099 Auto-packing repository <bzrlib.
22.057 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/
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 "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=nested_pb)
File "/usr/lib/
source, revision_
File "/usr/lib/
find_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb, find_ghosts)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return self._pack_
File "/usr/lib/
if not self.autopack():
File "/usr/lib/
self.
File "/usr/lib/
_packer_
File "/usr/lib/
return self._create_
File "/usr/lib/
self.
File "/usr/lib/
missing_
RevisionNotPresent: Revision {<email address hidden>} not present in "purchase.
22.057 return code 3
Related branches
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in bzr: | |
assignee: | nobody → abentley |
Changed in bzr: | |
status: | In Progress → Fix Released |
Today I got the error again....
This time, I had pushed a revision to launchpad 10 minutes earlier with no problem. Then I made some innocuous edits, commited and pushed again, resulting in this:
john@Monolith: ~/canonical/ ubunet/ bibit-updates2$ bzr push /~jdobrien/ ubunet/ bibit-updates2 _.py-2008101512 2929-xo51sqd7y4 v326zy- 10".
Using saved push location: bzr+ssh://<email address hidden>
bzr: ERROR: Revision {<email address hidden>} not present in "__init_
-- Here's ~/.bzr.log:
0.049 encoding stdout as sys.stdout encoding 'UTF-8' .bazaar/ plugins python2. 5/site- packages/ bzrlib/ plugins repofmt. pack_repo. RepositoryPackC ollection object at 0x3063c50>, which has 7 pack files, containing 20 revisions into 2 packs. python2. 5/site- packages/ bzrlib/ commands. py", line 849, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 795, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 495, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 838, 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 1749, in push hook_source_ branch= _override_ hook_source_ branch) python2. 5/site- packages/ bzrlib/ branch. py", line 2468, in _run_with_ write_locked_ target python2. 5/site- packages/ bzrlib/ branch. py", line 1788, in _push_with_ bound_branches push(target, overwrite, stop_revision) python2. 5/site- packages/ bzrlib/ branch. py", line 1811, in _basic_push python2. 5/site- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 5/site- packages/ bzrlib/ remote. py", line 1713, in update_revisions fetch(other, stop_revision) python2. 5/site- packages/ bzrlib/ decorators. py", line 192, in write_locked python2. 5/site- packages/ bzrlib/ branch. py", line 273, in fetch python2. 5/site- packages/ bzrlib/ remote. py", line 812, in fetch id=revision_ id, pb=pb) python2. ..
0.051 bzr arguments: [u'push']
0.051 looking for plugins in /home/john/
0.368 looking for plugins in /usr/lib/
0.369 Plugin name avahi already loaded
0.369 Plugin name __init__ already loaded
0.369 Plugin name dbus already loaded
0.369 Plugin name __init__ already loaded
0.428 encoding stdout as sys.stdout encoding 'UTF-8'
0.633 ssh implementation is OpenSSH
10.155 fetch up to rev {<email address hidden>}
16.610 Auto-packing repository <bzrlib.
21.644 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/
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 "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=nested_pb)
File "/usr/lib/
source, revision_
File "/usr/lib/