mercurial/hg.py
changeset 6315 5c96a4bca66b
parent 6217 fe8dbbe9520d
child 6338 0750f11152fe
--- a/mercurial/hg.py	Sat Mar 15 12:04:28 2008 -0400
+++ b/mercurial/hg.py	Thu Mar 20 11:12:35 2008 -0500
@@ -148,7 +148,7 @@
 
         abspath = origsource
         copy = False
-        if src_repo.local() and islocal(dest):
+        if src_repo.cancopy() and islocal(dest):
             abspath = os.path.abspath(util.drop_scheme('file', origsource))
             copy = not pull and not rev