Assertion failure in _process_entry
John Arbash Meinel
john at arbash-meinel.com
Fri Mar 9 17:12:08 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aaron Bentley wrote:
> Hi all,
>
> Dirstate doesn't seem to handle comparisons involving absent files very
> well. Personally, I don't understand why dirstate is recording absent
> files at all. But anyhow...
We store all records next to eachother. So if a file is present in any
of THIS or PARENTS we have to have a record for it. If it isn't present
in all trees, some of them will have an "absent" record.
Anyway, it is just a deficiency in _iter_changes that we don't handle
when a file was renamed and then removed in the working tree.
This actually seems weird, though. Because it was renamed from a
different location, and then removed here. Which generally would mean
that the whole record should be removed.
I wonder if you have pending merges, which are causing the record to
have to be duplicated.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF8ZVoJdeBCYSNAAMRAugxAKCvDsKiPJMT9w/AtTjGA9C+AAFxjgCg2LSB
8zbjBMRSBvVi72wCVmEINuM=
=Yrmp
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list