dirstate internals question

Robert Collins robertc at robertcollins.net
Tue Aug 12 04:10:22 BST 2008


I'm confused by this code in dirstate's update_basis_apply_deletes

            if real_delete:
                if entry[1][0][0] != 'a':
                    self._changes_aborted = True
                    raise errors.InconsistentDelta(old_path, file_id,
                            'This was marked as a real delete, but the
WT state'
                            ' claims that it still exists and is
versioned.')
                del self._dirblocks[block_index][1][entry_index]


I'm trying to figure out whether 
http://launchpadlibrarian.net/16676735/bzr-log-extract.txt
shows a bug in:
 - dirstate's delta generation
 - commits inventory delta synthesis logic
 - dirstates update_basis_from_delta logic

-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/20080812/ac229fdc/attachment-0001.pgp 


More information about the bazaar mailing list