mercurial/commands.py
changeset 512 78896f572a22
parent 509 98a2935c3d6c
child 513 2ab152e45de4
equal deleted inserted replaced
511:9f67222186bd 512:78896f572a22
   313 
   313 
   314         success = True
   314         success = True
   315         
   315         
   316     finally:
   316     finally:
   317         if not success:
   317         if not success:
   318             del repo
       
   319             import shutil
   318             import shutil
   320             shutil.rmtree(dest, True)
   319             shutil.rmtree(dest, True)
   321     
   320     
   322 def commit(ui, repo, *files, **opts):
   321 def commit(ui, repo, *files, **opts):
   323     """commit the specified files or all outstanding changes"""
   322     """commit the specified files or all outstanding changes"""