Rev 4769: we don't actually need to use an ST here, it is only a local check. in http://bazaar.launchpad.net/~jameinel/bzr/2.1-static-tuple-chk-map
John Arbash Meinel
john at arbash-meinel.com
Tue Oct 20 23:15:55 BST 2009
At http://bazaar.launchpad.net/~jameinel/bzr/2.1-static-tuple-chk-map
------------------------------------------------------------
revno: 4769
revision-id: john at arbash-meinel.com-20091020221541-pnqazitj1hh3ocey
parent: john at arbash-meinel.com-20091020221323-vvukgazqxkicb70n
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-static-tuple-chk-map
timestamp: Tue 2009-10-20 17:15:41 -0500
message:
we don't actually need to use an ST here, it is only a local check.
-------------- next part --------------
=== modified file 'bzrlib/inventory.py'
--- a/bzrlib/inventory.py 2009-10-20 22:13:23 +0000
+++ b/bzrlib/inventory.py 2009-10-20 22:15:41 +0000
@@ -1817,8 +1817,7 @@
# we're propagating the old caches or not.
result._path_to_fileid_cache[new_path] = file_id
if entry.parent_id is not None:
- parents.add(StaticTuple(split(new_path)[0].encode('utf8'),
- entry.parent_id))
+ parents.add((split(new_path)[0], entry.parent_id))
if old_path is None:
old_key = None
else:
More information about the bazaar-commits
mailing list