Mercurial > hgsubversion
comparison hgsubversion/wrappers.py @ 1503:180e0d5fba2e
join: remove uses of repo.join/wjoin
Upstream Mercurial has dropped these functions as of 4.3. Let's switch to the
appropriate repo.[w]vfs.join functions.
author | Durham Goode <durham@fb.com> |
---|---|
date | Tue, 09 May 2017 15:20:16 -0700 |
parents | cf82df69b794 |
children | e65d6f6897f4 |
comparison
equal
deleted
inserted
replaced
1502:fb91566d849c | 1503:180e0d5fba2e |
---|---|
672 srcrepo = data.get('srcrepo') | 672 srcrepo = data.get('srcrepo') |
673 dst = dstrepo.local() | 673 dst = dstrepo.local() |
674 | 674 |
675 if dstrepo.local() and srcrepo.capable('subversion'): | 675 if dstrepo.local() and srcrepo.capable('subversion'): |
676 dst = dstrepo.local() | 676 dst = dstrepo.local() |
677 fd = dst.opener("hgrc", "a", text=True) | 677 fd = dst.vfs("hgrc", "a", text=True) |
678 preservesections = set(s for s, v in optionmap.itervalues()) | 678 preservesections = set(s for s, v in optionmap.itervalues()) |
679 preservesections |= extrasections | 679 preservesections |= extrasections |
680 for section in preservesections: | 680 for section in preservesections: |
681 config = dict(ui.configitems(section)) | 681 config = dict(ui.configitems(section)) |
682 for name in dontretain[section]: | 682 for name in dontretain[section]: |