Show More
@@ -33,13 +33,6 b' from . import (' | |||||
33 | shallowutil, |
|
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 | # These make*stores functions are global so that other extensions can replace |
|
36 | # These make*stores functions are global so that other extensions can replace | |
44 | # them. |
|
37 | # them. | |
45 | def makelocalstores(repo): |
|
38 | def makelocalstores(repo): | |
@@ -192,7 +185,7 b' def wraprepo(repo):' | |||||
192 | opts=None): |
|
185 | opts=None): | |
193 | """Runs prefetch in background with optional repack |
|
186 | """Runs prefetch in background with optional repack | |
194 | """ |
|
187 | """ | |
195 |
cmd = [ |
|
188 | cmd = [procutil.hgexecutable(), '-R', repo.origroot, 'prefetch'] | |
196 | if repack: |
|
189 | if repack: | |
197 | cmd.append('--repack') |
|
190 | cmd.append('--repack') | |
198 | if revs: |
|
191 | if revs: |
General Comments 0
You need to be logged in to leave comments.
Login now