hgext/remotenames.py
changeset 38026 b9e6b71dc272
parent 37817 678ab0de7296
child 39762 25cc5616adc9
equal deleted inserted replaced
38025:7465b908d305 38026:b9e6b71dc272
   247 
   247 
   248 def extsetup(ui):
   248 def extsetup(ui):
   249     extensions.wrapfunction(bookmarks, '_printbookmarks', wrapprintbookmarks)
   249     extensions.wrapfunction(bookmarks, '_printbookmarks', wrapprintbookmarks)
   250 
   250 
   251 def reposetup(ui, repo):
   251 def reposetup(ui, repo):
       
   252 
       
   253     # set the config option to store remotenames
       
   254     repo.ui.setconfig('experimental', 'remotenames', True, 'remotenames-ext')
       
   255 
   252     if not repo.local():
   256     if not repo.local():
   253         return
   257         return
   254 
   258 
   255     repo._remotenames = remotenames(repo)
   259     repo._remotenames = remotenames(repo)
   256     ns = namespaces.namespace
   260     ns = namespaces.namespace