From: Paul Molodowitch 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). diff -r 6cd92f95a0af tortoisehg/util/hglib.py --- a/tortoisehg/util/hglib.py Wed Dec 16 22:32:18 2009 -0600 +++ b/tortoisehg/util/hglib.py Thu Dec 17 11:41:34 2009 -0800 @@ -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()