mercurial/bookmarks.py
branchstable
changeset 29066 e6f490e32863
parent 28182 e4fe4e903e97
child 29084 052c9318e464
equal deleted inserted replaced
29065:dae4552390fc 29066:e6f490e32863
   179 
   179 
   180     def _write(self, fp):
   180     def _write(self, fp):
   181         for name, node in self.iteritems():
   181         for name, node in self.iteritems():
   182             fp.write("%s %s\n" % (hex(node), encoding.fromlocal(name)))
   182             fp.write("%s %s\n" % (hex(node), encoding.fromlocal(name)))
   183         self._clean = True
   183         self._clean = True
       
   184         self._repo.invalidatevolatilesets()
   184 
   185 
   185     def expandname(self, bname):
   186     def expandname(self, bname):
   186         if bname == '.':
   187         if bname == '.':
   187             return self.active
   188             return self.active
   188         return bname
   189         return bname