--- a/mercurial/bundlerepo.py Sat Mar 15 12:04:28 2008 -0400
+++ b/mercurial/bundlerepo.py Thu Mar 20 11:12:35 2008 -0500
@@ -261,6 +261,9 @@
if self._tempparent:
shutil.rmtree(self._tempparent, True)
+ def cancopy(self):
+ return False
+
def instance(ui, path, create):
if create:
raise util.Abort(_('cannot create new bundle repository'))
--- 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