diff tests/test_fetch_mappings.py @ 917:6918f60d0e28

Merge hg 2.3 fixes from bos.
author Augie Fackler <raf@durin42.com>
date Sat, 21 Jul 2012 15:31:34 -0500
parents 7e9d805a0e1f
children 5bacb9c63e3e
line wrap: on
line diff
--- a/tests/test_fetch_mappings.py
+++ b/tests/test_fetch_mappings.py
@@ -245,6 +245,8 @@ class MapTests(test_util.TestBase):
         ui = self.ui(stupid)
         src, dest = test_util.hgclone(ui, self.wc_path, self.wc_path + '_clone',
                                       update=False)
+        src = getattr(src, 'local', lambda: src)()
+        dest = getattr(dest, 'local', lambda: dest)()
         svncommands.rebuildmeta(ui, dest,
                                 args=[test_util.fileurl(repo_path)])