changeset 5986 | a732eebf1958 |
parent 5849 | 000ed6873951 |
child 6001 | 30d2fecaab76 |
child 6030 | d0dbae32517c |
--- a/mercurial/commands.py Sun Feb 03 21:03:46 2008 -0200 +++ b/mercurial/commands.py Sun Feb 03 21:03:46 2008 -0200 @@ -1632,6 +1632,9 @@ repo.rollback() raise util.Abort(_('patch is damaged' + ' or loses information')) + # Force a dirstate write so that the next transaction backups + # an up-do-date file. + repo.dirstate.write() finally: os.unlink(tmpname) finally: