changeset 9984:439d7ea6fe3a stable 1.4.1

share: fix interaction with clone
author Matt Mackall <mpm@selenic.com>
date Tue, 01 Dec 2009 19:28:15 -0600
parents 1bf8b870efb4
children 279282ca42f0 6fa13bd71b20
files mercurial/hg.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):