changeset 279:376ba9399ce6

hg_delta_editor: Fix a bug in marking branches as deleted.
author Max Bowsher <maxb@f2s.com>
date Fri, 24 Apr 2009 21:04:25 -0500 (2009-04-25)
parents 60acc38eac96
children 4a327bfc69c6
files hg_delta_editor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hg_delta_editor.py
+++ b/hg_delta_editor.py
@@ -521,7 +521,7 @@ class HgChangeReceiver(delta.Editor):
                 # check for case 5
                 for known in self.branches:
                     if self._svnpath(known).startswith(p):
-                        self.branches_to_delete.add(br) # case 5
+                        self.branches_to_delete.add(known) # case 5
             added_branches.update(self.__determine_parent_branch(p, paths[p].copyfrom_path,
                                                                  paths[p].copyfrom_rev, revision.revnum))
         for t in tags_to_delete: