non-existent parent revision

David Clymer david at zettazebra.com
Sun Jul 10 05:29:48 BST 2005


I just did a 

$ bzr pull http://www.bazaar-ng.org/bzr/bzr.dev

and 

$ bzr upgrade 

on my local (pristine, rev 658) bzr branch. The pull went fine, but the upgrade failed:


vezult at feanor:/usr/local/share/bzr.dev/contrib$ bzr version
bzr (bazaar-ng) 0.0.5
  (bzr checkout, revision 854 {mbp at sourcefrog.net-20050707102201-2d2a13a25098b101})
Copyright 2005 Canonical Development Ltd.
http://bazaar-ng.org/

bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
vezult at feanor:/usr/local/share/bzr.dev/contrib$ bzr upgrade
\ [======================================= ] upgrading revision 835/854 0:00:00bzr: [Errno 2] No such file or directory: '/usr/local/share/bzr.dev/.bzr/revision-store/aaron.bentley at utoronto.ca-20050706170931-9d2551019af3578d'
  at /usr/local/share/bzr.dev/bzrlib/store.py:181 in __getitem__()
  see ~/.bzr.log for debug information

Investigating a bit, I found that a revision-store
(mbp at sourcefrog.net-20050707080216-4e4d884bcf89eb8d.gz) referenced two
parents, one of which had no corresponding revision-store. A bzr check
indicated a hash mismatch on the parent of the same revision.

vezult at feanor:/usr/local/share/bzr.dev/.bzr/revision-store$ bzr check
/ [=========================================] checking revision 846/854 0:00:00bzr: error: mismatched revision sha1 for parent {mbp at sourcefrog.net-20050707020702-0e24e478b738d4db} of {mbp at sourcefrog.net-20050707080216-4e4d884bcf89eb8d}: e17d750e032857ec57d4fb06cd84665e77b46045 vs f8ff86c5fa8b2748ad2abf126e48837f7f85d7a2
  at /usr/local/share/bzr.dev/bzrlib/check.py:80 in check()
  see ~/.bzr.log for debug information


the relevant portions of my ~/.bzr.log are available at:

  http://www.zettazebra.com/files/bzr.log-07092005


-davidc

-- 
gpg-key: http://www.zettazebra.com/files/key.gpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050710/39bbc3b9/attachment.pgp 


More information about the bazaar mailing list