equal
deleted
inserted
replaced
203 |
203 |
204 # remove undo files |
204 # remove undo files |
205 for undovfs, undofile in repo.undofiles(): |
205 for undovfs, undofile in repo.undofiles(): |
206 try: |
206 try: |
207 undovfs.unlink(undofile) |
207 undovfs.unlink(undofile) |
208 except OSError, e: |
208 except OSError as e: |
209 if e.errno != errno.ENOENT: |
209 if e.errno != errno.ENOENT: |
210 ui.warn(_('error removing %s: %s\n') % |
210 ui.warn(_('error removing %s: %s\n') % |
211 (undovfs.join(undofile), str(e))) |
211 (undovfs.join(undofile), str(e))) |
212 |
212 |
213 for m in updatebm: |
213 for m in updatebm: |