author | Idan Kamara <idankk86@gmail.com> |
Fri, 29 Apr 2011 18:43:36 +0300 | |
changeset 14039 | 3fc7154396d2 |
parent 14038 | 0e6f622f31ca |
child 14040 | 9d2be7e17fc1 |
--- a/mercurial/bookmarks.py Fri Apr 29 18:44:56 2011 +0300 +++ b/mercurial/bookmarks.py Fri Apr 29 18:43:36 2011 +0300 @@ -73,7 +73,9 @@ try: bms = repo.opener('bookmarks').read() - except IOError: + except IOError, inst: + if inst.errno != errno.ENOENT: + raise bms = '' repo.opener('undo.bookmarks', 'w').write(bms)