stupid: take tbdelta closed branches in account

Otherwise, deleting 'branches' will go undetected since it does not touch
existing branches.
This commit is contained in:
Patrick Mezard 2009-07-18 20:44:33 -05:00
parent 98b3ca8540
commit 8888ce5e4a

View File

@ -547,7 +547,7 @@ def convert_rev(ui, meta, svn, r, tbdelta):
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)]