Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.1, 2.0.2, and 2.0.3

stable thgrepo: watch bookmark files, workaround bug in hg-1.8 (refs #177)

The _bookmarkcurrent propertycache is not being cleared, leading to misleading
behavior in the revision graph.

Changeset bac5b8436eb4

Parent 6bdb7ec357aa

by Steve Borho

Changes to one file · Browse files at bac5b8436eb4 Showing diff from parent 6bdb7ec357aa Diff from another changeset...

 
131
132
133
 
 
134
135
136
 
211
212
213
214
 
215
216
217
 
131
132
133
134
135
136
137
138
 
213
214
215
 
216
217
218
219
@@ -131,6 +131,8 @@
  def _getrepomtime(self):   'Return the last modification time for the repo'   watchedfiles = [self.repo.sjoin('00changelog.i')] + watchedfiles.append(self.repo.join('bookmarks')) + watchedfiles.append(self.repo.join('bookmarks.current'))   if hasattr(self.repo, 'mq'):   watchedfiles.append(self.repo.mq.join('series'))   watchedfiles.append(self.repo.mq.join('guards')) @@ -211,7 +213,7 @@
  deadbranches _exts _thghiddentags displayname summarylen   shortname mergetools namedbranches'''.split()  _thgrepoprops = '''_thgmqpatchnames thgmqunappliedpatches - _branchheads'''.split() + _branchheads _bookmarkcurrent'''.split()    def _extendrepo(repo):   class thgrepository(repo.__class__):