[MERGE][0.15] a few pointers needed for solving a bug
Robert Collins
robertc at robertcollins.net
Sun Mar 25 13:48:21 BST 2007
On Sun, 2007-03-25 at 22:39 +1000, Martin Pool wrote:
>
> I am not sure these last two assertions are correct. As I understand
> it, the 'r' records just tell you where, within one tree, a particular
> file id can be found, and they don't necessarily require back pointers
> across trees.
For each id in the dirstate, there is one key for each distinct path
that has that id across all trees.
For each tree then, if the id is not in the tree, the details for all
the keys must be 'a'.
If the id is in the tree it must have one precisely one key which is not
r. All the other keys for that id must be 'r' and point at the path of
the key which is r.
That is, you do need to check the data even when the id isn't in the
tree.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- 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/20070325/f0fd3f2e/attachment-0001.pgp
More information about the bazaar
mailing list