diff mercurial/progress.py @ 27685:9fbae70faf65

bookmarks: make _readactive safe when readlines raises ENOENT When reading over static http, the file isn't actually opened until the readlines() call, so we have to check for ENOENT IOErrors here too. This is necessary so that we can use the bmstore everywhere for managing the active bookmark, which will be true in the next change.
author Augie Fackler <augie@google.com>
date Tue, 01 Dec 2015 13:08:05 -0500
parents 1aee2ab0f902
children 2d20d1d2ea76
line wrap: on
line diff