mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
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:
parent
98b3ca8540
commit
8888ce5e4a
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user