hgext/remotefilelog/__init__.py
changeset 41781 e9b9ee9af4a9
parent 41634 62bf34f70fe8
child 42057 566daffc607d
equal deleted inserted replaced
41780:18f619d3b1bb 41781:e9b9ee9af4a9
   157     repoview,
   157     repoview,
   158     revset,
   158     revset,
   159     scmutil,
   159     scmutil,
   160     smartset,
   160     smartset,
   161     streamclone,
   161     streamclone,
   162     templatekw,
       
   163     util,
   162     util,
   164 )
   163 )
   165 from . import (
   164 from . import (
   166     constants,
   165     constants,
   167     debugcommands,
   166     debugcommands,
   555             if fileservice:
   554             if fileservice:
   556                 fileservice.close()
   555                 fileservice.close()
   557     extensions.wrapfunction(dispatch, 'runcommand', runcommand)
   556     extensions.wrapfunction(dispatch, 'runcommand', runcommand)
   558 
   557 
   559     # disappointing hacks below
   558     # disappointing hacks below
   560     templatekw.getrenamedfn = getrenamedfn
   559     scmutil.getrenamedfn = getrenamedfn
   561     extensions.wrapfunction(revset, 'filelog', filelogrevset)
   560     extensions.wrapfunction(revset, 'filelog', filelogrevset)
   562     revset.symbols['filelog'] = revset.filelog
   561     revset.symbols['filelog'] = revset.filelog
   563     extensions.wrapfunction(cmdutil, 'walkfilerevs', walkfilerevs)
   562     extensions.wrapfunction(cmdutil, 'walkfilerevs', walkfilerevs)
   564 
   563 
   565     # prevent strip from stripping remotefilelogs
   564     # prevent strip from stripping remotefilelogs