Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

hglib: simpler method for refreshing bookmarks

Rather than rebuilding the bookmark repo, simply clear the bookmark
cache. They will be read from disk the next time they are needed.

Changeset 49b7c65ffc87

Parent f398a0fd5faa

by Steve Borho

Changes to one file · Browse files at 49b7c65ffc87 Showing diff from parent f398a0fd5faa Diff from another changeset...

 
117
118
119
120
121
 
122
123
124
 
117
118
119
 
 
120
121
122
123
@@ -117,8 +117,7 @@
  return   repo.invalidate()   if '_bookmarks' in repo.__dict__: - bm = extensions.find('bookmarks') - bm.reposetup(repo.ui, repo) + repo._bookmarks = {}   if 'mq' in repo.__dict__: #do not create if it does not exist   repo.mq.invalidate()