changeset 28182 | e4fe4e903e97 |
parent 27800 | 1c5f2c2c046b |
child 29066 | e6f490e32863 |
--- a/mercurial/bookmarks.py Sat Feb 20 15:56:44 2016 -0800 +++ b/mercurial/bookmarks.py Fri Feb 19 22:28:09 2016 +0100 @@ -182,6 +182,11 @@ fp.write("%s %s\n" % (hex(node), encoding.fromlocal(name))) self._clean = True + def expandname(self, bname): + if bname == '.': + return self.active + return bname + def _readactive(repo, marks): """ Get the active bookmark. We can have an active bookmark that updates