Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 512:78896f572a22
Remove unnecessary deletion in hg clone
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Remove unnecessary deletion in hg clone
manifest hash: 4a750332a8b1fe07b63f77ccede89d6486a478e9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwZpIywK+sNU5EO8RAq0IAKCsEtjbl9pe25FAkiDZo8+kAW8mpwCdGS7a
JIMPHNUQeb552c4jaPjoyBs=
=Jp3X
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Tue, 28 Jun 2005 10:43:20 -0800 |
parents | 98a2935c3d6c |
children | 2ab152e45de4 |
comparison
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""" |