##// END OF EJS Templates
shallowrepo: remove backwards compat code that predates in-tree remotefilelog...
Augie Fackler -
r42695:373aeede default
parent child Browse files
Show More
@@ -33,13 +33,6 b' from . import ('
33 33 shallowutil,
34 34 )
35 35
36 if util.safehasattr(util, '_hgexecutable'):
37 # Before 5be286db
38 _hgexecutable = util.hgexecutable
39 else:
40 from mercurial.utils import procutil
41 _hgexecutable = procutil.hgexecutable
42
43 36 # These make*stores functions are global so that other extensions can replace
44 37 # them.
45 38 def makelocalstores(repo):
@@ -192,7 +185,7 b' def wraprepo(repo):'
192 185 opts=None):
193 186 """Runs prefetch in background with optional repack
194 187 """
195 cmd = [_hgexecutable(), '-R', repo.origroot, 'prefetch']
188 cmd = [procutil.hgexecutable(), '-R', repo.origroot, 'prefetch']
196 189 if repack:
197 190 cmd.append('--repack')
198 191 if revs:
General Comments 0
You need to be logged in to leave comments. Login now