Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0, 1.0.1, and 1.0.2

bookmark: hglib.invalidaterepo resets repo._bookmarkcurrent

This makes the current bookmark be refreshed correctly in a few situation
where it still wasn't (ie, if a change is made from the command line, while
a tortoiseHg window is open).

Changeset 48cddf2dc312

Parent e8413dc51ce9

by Paul Molodowitch

Changes to one file · Browse files at 48cddf2dc312 Showing diff from parent e8413dc51ce9 Diff from another changeset...

 
120
121
122
 
 
123
124
125
 
120
121
122
123
124
125
126
127
@@ -120,6 +120,8 @@
  repo.invalidate()   if '_bookmarks' in repo.__dict__:   repo._bookmarks = {} + if hasattr(repo, '_bookmarkcurrent'): + repo._bookmarkcurrent = None   if 'mq' in repo.__dict__: #do not create if it does not exist   repo.mq.invalidate()