Rev 1846: Use find_latest_change. in file:///data/jelmer/bzr-svn/trunk/

Jelmer Vernooij jelmer at samba.org
Sun Sep 7 01:26:17 BST 2008


At file:///data/jelmer/bzr-svn/trunk/

------------------------------------------------------------
revno: 1846
revision-id: jelmer at samba.org-20080907002615-7338xb28hu8eav64
parent: jelmer at samba.org-20080907000022-rx44hda22o4i6833
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sun 2008-09-07 02:26:15 +0200
message:
  Use find_latest_change.
modified:
  repository.py                  repository.py-20060306123302-1f8c5069b3fe0265
=== modified file 'repository.py'
--- a/repository.py	2008-09-07 00:00:22 +0000
+++ b/repository.py	2008-09-07 00:26:15 +0000
@@ -663,7 +663,7 @@
                             del newpaths[p]
                             if not changes.changes_path(newpaths, p, False) and layout.is_branch(cf):
                                 tp = cf
-                                tr = int(self.transport.get_dir(cf, cr)[2][properties.PROP_ENTRY_COMMITTED_REV])
+                                tr = self._log.find_latest_change(cf, cr)
                             tag_changes[p] = self.generate_revision_id(tr, tp, mapping)
                         else:
                             tag_changes[bp] = self._revmeta_provider.get_revision(bp, revnum, revprops=revprops).get_revision_id(mapping)




More information about the bazaar-commits mailing list