mercurial/commands.py
changeset 1315 32f6cae83db7
parent 1314 d37a46859acd
child 1317 008d3666bf41
equal deleted inserted replaced
1314:d37a46859acd 1315:32f6cae83db7
   628     d = Dircleanup(dest)
   628     d = Dircleanup(dest)
   629     abspath = source
   629     abspath = source
   630     other = hg.repository(ui, source)
   630     other = hg.repository(ui, source)
   631 
   631 
   632     copy = False
   632     copy = False
   633     if not opts['pull'] and other.dev() != -1:
   633     if other.dev() != -1:
   634         abspath = os.path.abspath(source)
   634         abspath = os.path.abspath(source)
   635         copy = True
   635         if not opts['pull']:
   636 
   636             copy = True
       
   637         
   637     if copy:
   638     if copy:
   638         try:
   639         try:
   639             # we use a lock here because if we race with commit, we
   640             # we use a lock here because if we race with commit, we
   640             # can end up with extra data in the cloned revlogs that's
   641             # can end up with extra data in the cloned revlogs that's
   641             # not pointed to by changesets, thus causing verify to
   642             # not pointed to by changesets, thus causing verify to