mercurial/hg.py
changeset 5239 76c4cadb49fc
parent 5237 fe55e3d6dc0b
child 5241 5517aa5aafb0
child 5276 aea35488ea66
equal deleted inserted replaced
5238:20817af258d8 5239:76c4cadb49fc
   139         dir_cleanup = DirCleanup(dest)
   139         dir_cleanup = DirCleanup(dest)
   140 
   140 
   141     abspath = origsource
   141     abspath = origsource
   142     copy = False
   142     copy = False
   143     if src_repo.local() and islocal(dest):
   143     if src_repo.local() and islocal(dest):
   144         abspath = os.path.abspath(origsource)
   144         abspath = os.path.abspath(util.drop_scheme('file', origsource))
   145         copy = not pull and not rev
   145         copy = not pull and not rev
   146 
   146 
   147     src_lock, dest_lock = None, None
   147     src_lock, dest_lock = None, None
   148     if copy:
   148     if copy:
   149         try:
   149         try: