Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bookmarks.py @ 29066:e6f490e32863 stable
bookmarks: properly invalidate volatile sets when writing bookmarks
This corrects a regression introduced during the 3.7 cycle, but which
went undetected due to the surviving-but-deprecated write() method on
bmstore.
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 04 May 2016 22:44:30 -0400 |
parents | e4fe4e903e97 |
children | 052c9318e464 |
line wrap: on
line diff
--- a/mercurial/bookmarks.py Thu May 05 15:41:37 2016 +0200 +++ b/mercurial/bookmarks.py Wed May 04 22:44:30 2016 -0400 @@ -181,6 +181,7 @@ for name, node in self.iteritems(): fp.write("%s %s\n" % (hex(node), encoding.fromlocal(name))) self._clean = True + self._repo.invalidatevolatilesets() def expandname(self, bname): if bname == '.':