dirstate internals question
John Arbash Meinel
john at arbash-meinel.com
Thu Aug 14 21:54:50 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
...
>> In almost every branch of _update_basis_apply_deletes, unless an error
>> is raised, we end up deleting the entire entry from the dirblock,
>> meaning that we no longer have any data about that filename in the
>> working tree, basis tree, or any of the merged-in trees.
>
> errata here - (filename, fileid) is the key for a entry in a dirblock.
>
> -Rob
Well, actually the ([dir, path], name, file_id) is the key. At least if
you want the key that you can sort with.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkikm5oACgkQJdeBCYSNAAPOmgCgoO1VebfBcUmD//IHRsXVIrL7
b00AnjCjUOR2fcDTu4xKT6qXZAKSKk1R
=hhHS
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list