Mercurial > hg-stable
diff mercurial/hg.py @ 6315:5c96a4bca66b
clone: use cancopy
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 20 Mar 2008 11:12:35 -0500 |
parents | fe8dbbe9520d |
children | 0750f11152fe |
line wrap: on
line diff
--- 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