# HG changeset patch # User Pierre-Yves David # Date 1497056101 -3600 # Node ID 47ca96f9cfca6e31a3ae3ca4f0106baaca48bedf # Parent 4374e88e808cef2d277a18bb2947be2cd5a00722 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. diff --git a/mercurial/bookmarks.py b/mercurial/bookmarks.py --- 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: