mercurial/hg.py
changeset 6315 5c96a4bca66b
parent 6217 fe8dbbe9520d
child 6338 0750f11152fe
equal deleted inserted replaced
6314:9a1c59283ad3 6315:5c96a4bca66b
   146         if islocal(dest):
   146         if islocal(dest):
   147             dir_cleanup = DirCleanup(dest)
   147             dir_cleanup = DirCleanup(dest)
   148 
   148 
   149         abspath = origsource
   149         abspath = origsource
   150         copy = False
   150         copy = False
   151         if src_repo.local() and islocal(dest):
   151         if src_repo.cancopy() and islocal(dest):
   152             abspath = os.path.abspath(util.drop_scheme('file', origsource))
   152             abspath = os.path.abspath(util.drop_scheme('file', origsource))
   153             copy = not pull and not rev
   153             copy = not pull and not rev
   154 
   154 
   155         if copy:
   155         if copy:
   156             try:
   156             try: