Rev 5887: Note to jam: when you finish debugging, remove your silly pdb statements in http://bazaar.launchpad.net/~jameinel/bzr/2.4-set-parent-trees-delta-282941
John Arbash Meinel
john at arbash-meinel.com
Thu May 19 16:56:21 UTC 2011
At http://bazaar.launchpad.net/~jameinel/bzr/2.4-set-parent-trees-delta-282941
------------------------------------------------------------
revno: 5887
revision-id: john at arbash-meinel.com-20110519165609-qwzdw66eywc2zh5c
parent: john at arbash-meinel.com-20110519151519-0p4f1yrn1co5ol1g
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.4-set-parent-trees-delta-282941
timestamp: Thu 2011-05-19 18:56:09 +0200
message:
Note to jam: when you finish debugging, remove your silly pdb statements
-------------- next part --------------
=== modified file 'bzrlib/dirstate.py'
--- a/bzrlib/dirstate.py 2011-05-19 15:15:19 +0000
+++ b/bzrlib/dirstate.py 2011-05-19 16:56:09 +0000
@@ -1771,11 +1771,9 @@
for old_path, new_path, file_id, new_details in changes:
# the entry for this file_id must be in tree 0.
entry = self._get_entry(1, file_id, new_path)
- if entry[0] is None or entry[1][1][0] == 'a':
+ if entry[0] is None or entry[1][1][0] in 'ar':
self._raise_invalid(new_path, file_id,
'changed entry considered not present')
- if entry[1][1][0] == 'r':
- import pdb; pdb.set_trace()
entry[1][1] = new_details
def _update_basis_apply_deletes(self, deletes):
@@ -1851,7 +1849,6 @@
for child_entry in dir_block:
child_basis_kind = child_entry[1][1][0]
if child_basis_kind not in 'ar':
- import pdb; pdb.set_trace()
self._raise_invalid(old_path, file_id,
"The file id was deleted but its children were "
"not deleted.")
@@ -3775,7 +3772,6 @@
raise AssertionError("don't know how to compare "
"source_minikind=%r, target_minikind=%r"
% (source_minikind, target_minikind))
- ## import pdb;pdb.set_trace()
return None, None
def __iter__(self):
More information about the bazaar-commits
mailing list