Mercurial > hg
comparison mercurial/commands.py @ 6001:30d2fecaab76
merge with crew-stable
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Sun, 03 Feb 2008 21:47:07 -0200 |
parents | d1fe1a4eb2b7 a732eebf1958 |
children | 5af5f0f9d724 |
comparison
equal
deleted
inserted
replaced
6000:8e7d64989bb8 | 6001:30d2fecaab76 |
---|---|
1538 if opts.get('exact'): | 1538 if opts.get('exact'): |
1539 if hex(n) != nodeid: | 1539 if hex(n) != nodeid: |
1540 repo.rollback() | 1540 repo.rollback() |
1541 raise util.Abort(_('patch is damaged' | 1541 raise util.Abort(_('patch is damaged' |
1542 ' or loses information')) | 1542 ' or loses information')) |
1543 # Force a dirstate write so that the next transaction | |
1544 # backups an up-do-date file. | |
1545 repo.dirstate.write() | |
1543 finally: | 1546 finally: |
1544 os.unlink(tmpname) | 1547 os.unlink(tmpname) |
1545 finally: | 1548 finally: |
1546 del lock, wlock | 1549 del lock, wlock |
1547 | 1550 |