changeset 472:ba65e97538d1

stupid: take tbdelta closed branches in account Otherwise, deleting 'branches' will go undetected since it does not touch existing branches.
author Patrick Mezard <pmezard@gmail.com>
date Sat, 18 Jul 2009 20:44:33 -0500
parents 893e40e97f6c
children 45df4d9320fa
files hgsubversion/stupid.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgsubversion/stupid.py
+++ b/hgsubversion/stupid.py
@@ -547,7 +547,7 @@ def convert_rev(ui, meta, svn, r, tbdelt
             deleted_branches[branch] = closed
 
     date = meta.fixdate(r.date)
-    check_deleted_branches = set()
+    check_deleted_branches = set(tbdelta['branches'][1])
     for b in branches:
 
         parentctx = meta.repo[meta.get_parent_revision(r.revnum, b)]