share: fix interaction with clone stable 1.4.1
authorMatt Mackall <mpm@selenic.com>
Tue, 01 Dec 2009 19:28:15 -0600
branchstable
changeset 9984 439d7ea6fe3a
parent 9981 1bf8b870efb4
child 9985 279282ca42f0
child 9986 6fa13bd71b20
share: fix interaction with clone
mercurial/hg.py
--- a/mercurial/hg.py	Tue Dec 01 14:36:47 2009 -0600
+++ b/mercurial/hg.py	Tue Dec 01 19:28:15 2009 -0600
@@ -255,7 +255,7 @@
                 raise
 
             for f in src_repo.store.copylist():
-                src = os.path.join(src_repo.path, f)
+                src = os.path.join(src_repo.sharedpath, f)
                 dst = os.path.join(dest_path, f)
                 dstbase = os.path.dirname(dst)
                 if dstbase and not os.path.exists(dstbase):