Mercurial > hg > mercurial-source
changeset 33576:47ca96f9cfca
bookmarks: rephrase a comment to be shorted and clearer
The initial motivation is that I need an initial level of indent in the next
changeset o:-) It turn out I like the new version better.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 10 Jun 2017 01:55:01 +0100 |
parents | 4374e88e808c |
children | 6f775d10e83b |
files | mercurial/bookmarks.py |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bookmarks.py +++ b/mercurial/bookmarks.py @@ -68,9 +68,11 @@ refspec = encoding.tolocal(refspec) setitem(self, refspec, node) except (TypeError, ValueError): - # - bin(...) can raise TypeError - # - node in nm can raise ValueError for non-20-bytes entry - # - split(...) can raise ValueError for string without ' ' + # TypeError: + # - bin(...) + # ValueError: + # - node in nm, for non-20-bytes entry + # - split(...), for string without ' ' repo.ui.warn(_('malformed line in .hg/bookmarks: %r\n') % line) except IOError as inst: