comparison hgsubversion/stupid.py @ 1599:7bb6562feb85

compathacks: drop branchset() which is compat code for hg<2.9
author Pulkit Goyal <pulkit@yandex-team.ru>
date Tue, 27 Nov 2018 14:08:11 +0300
parents 8a66277136ab
children
comparison
equal deleted inserted replaced
1598:394007c5efea 1599:7bb6562feb85
757 if b: 757 if b:
758 # Regular tag without modifications, it will be committed by 758 # Regular tag without modifications, it will be committed by
759 # svnmeta.committag(), we can skip the whole branch for now 759 # svnmeta.committag(), we can skip the whole branch for now
760 if (tag and tag not in meta.tags and 760 if (tag and tag not in meta.tags and
761 b not in meta.branches 761 b not in meta.branches
762 and b not in compathacks.branchset(meta.repo) 762 and b not in meta.repo.branchmap()
763 and not files_touched): 763 and not files_touched):
764 continue 764 continue
765 765
766 if parentctx.node() == node.nullid and not files_touched: 766 if parentctx.node() == node.nullid and not files_touched:
767 meta.repo.ui.debug('skipping commit since parent is null and no files touched.\n') 767 meta.repo.ui.debug('skipping commit since parent is null and no files touched.\n')