mercurial/hg.py
branchstable
changeset 9984 439d7ea6fe3a
parent 9788 75520c24feda
child 10099 f5e46dfb38c7
equal deleted inserted replaced
9981:1bf8b870efb4 9984:439d7ea6fe3a
   253                     raise util.Abort(_("destination '%s' already exists")
   253                     raise util.Abort(_("destination '%s' already exists")
   254                                      % dest)
   254                                      % dest)
   255                 raise
   255                 raise
   256 
   256 
   257             for f in src_repo.store.copylist():
   257             for f in src_repo.store.copylist():
   258                 src = os.path.join(src_repo.path, f)
   258                 src = os.path.join(src_repo.sharedpath, f)
   259                 dst = os.path.join(dest_path, f)
   259                 dst = os.path.join(dest_path, f)
   260                 dstbase = os.path.dirname(dst)
   260                 dstbase = os.path.dirname(dst)
   261                 if dstbase and not os.path.exists(dstbase):
   261                 if dstbase and not os.path.exists(dstbase):
   262                     os.mkdir(dstbase)
   262                     os.mkdir(dstbase)
   263                 if os.path.exists(src):
   263                 if os.path.exists(src):