Submitter | Pierre-Yves David |
---|---|
Date | June 10, 2017, 1:32 a.m. |
Message ID | <10c0e1f7d48bfa560879.1497058349@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/21313/ |
State | Accepted |
Headers | show |
Comments
On Sat, 10 Jun 2017 02:32:29 +0100, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David <pierre-yves.david@octobus.net> > # Date 1497056101 -3600 > # Sat Jun 10 01:55:01 2017 +0100 > # Node ID 10c0e1f7d48bfa560879bbdbc6ceedc266e1b38b > # Parent 776d077eb4ef815e08631fb1e7b33375adca3ef1 > # EXP-Topic bookmark > # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ > # hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 10c0e1f7d48b > bookmarks: rephrase a comment to be shorted and clearer Queued, thanks.
Patch
diff --git a/mercurial/bookmarks.py b/mercurial/bookmarks.py --- a/mercurial/bookmarks.py +++ b/mercurial/bookmarks.py @@ -68,9 +68,11 @@ class bmstore(dict): 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: