diff 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
line wrap: on
line diff
--- a/hgsubversion/wrappers.py
+++ b/hgsubversion/wrappers.py
@@ -674,7 +674,7 @@ def clone(orig, ui, source, dest=None, *
 
     if dstrepo.local() and srcrepo.capable('subversion'):
         dst = dstrepo.local()
-        fd = dst.opener("hgrc", "a", text=True)
+        fd = dst.vfs("hgrc", "a", text=True)
         preservesections = set(s for s, v in optionmap.itervalues())
         preservesections |= extrasections
         for section in preservesections: