# HG changeset patch # User Max Bowsher # Date 1240625065 18000 # Node ID 376ba9399ce676d956dbc89612efe12a5715a246 # Parent 60acc38eac9648dfcc2af8ce1eff828267a2e294 hg_delta_editor: Fix a bug in marking branches as deleted. diff --git a/hg_delta_editor.py b/hg_delta_editor.py --- 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: