[MERGE] bzr check detects unreferenced revisions

Aaron Bentley aaron.bentley at utoronto.ca
Wed Aug 22 21:48:35 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

This patch adds support for detecting unreferenced file versions in "bzr
check".  These are file versions whose version id matches a revision,
but which are not listed as the (last-modified-)revision in the
corresponding inventory entry.

While they may not be referenced by inventories, they are frequently
referenced as build-parents by other file versions, and leaving them out
while fetching would produce a broken repository.  (Early versions of
Bundle 4 did that.  Not pretty.)

Andrew's recent fetch work did not account for this, which is why I
voted resubmit.  But ultimately, we should just fix this bad data, and
detecting it is the first step.

These are revisions that probably ought to be referenced by their
inventories.  I haven't investigated that aspect thoroughly.

This is my output for bzr:

 15566 revisions
 35221 unique file texts
5213198 repeated file texts
vvv
  2450 unreferenced file texts
^^^

  1638 weaves
     2 ghost revisions
     2 revisions missing parents in ancestry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGzKEi0F+nu1YWqI0RAnkzAJ49dPDQvIzs5/7pspMc0Qu354k6cQCfRazr
jyGp8ipyoLY7WIkMtOetYqs=
=yCsM
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-rghvmi.patch
Type: text/x-patch
Size: 15670 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070822/b605d0e7/attachment.bin 


More information about the bazaar mailing list