Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/commands.py @ 515:03f27b1381f9
Whitespace cleanups
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Whitespace cleanups
manifest hash: ac954bc3a4f034c12638a259ecd65841f5b63c5c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCwuubywK+sNU5EO8RAluIAJ98XQpNdZUpSmYKgDmrMRlbL76ZzQCfes0t
rknNUN/PhtyA4bzL646dOz4=
=UyCE
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Wed, 29 Jun 2005 10:42:35 -0800 |
parents | 2ab152e45de4 |
children | 873228c2f6cf |
comparison
equal
deleted
inserted
replaced
514:874e577e332e | 515:03f27b1381f9 |
---|---|
310 | 310 |
311 if not opts['noupdate']: | 311 if not opts['noupdate']: |
312 update(ui, repo) | 312 update(ui, repo) |
313 | 313 |
314 success = True | 314 success = True |
315 | 315 |
316 finally: | 316 finally: |
317 if created and not success: | 317 if created and not success: |
318 import shutil | 318 import shutil |
319 shutil.rmtree(dest, True) | 319 shutil.rmtree(dest, True) |
320 | 320 |
321 def commit(ui, repo, *files, **opts): | 321 def commit(ui, repo, *files, **opts): |
322 """commit the specified files or all outstanding changes""" | 322 """commit the specified files or all outstanding changes""" |
323 text = opts['text'] | 323 text = opts['text'] |
324 if not text and opts['logfile']: | 324 if not text and opts['logfile']: |
325 try: text = open(opts['logfile']).read() | 325 try: text = open(opts['logfile']).read() |