durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6538 AFFECTED FILES hgext/remotefilelog/shallowrepo.py CHANGE DETAILS diff --git a/hgext/remotefilelog/shallowrepo.py b/hgext/remotefilelog/shallowrepo.py --- a/hgext/remotefilelog/shallowrepo.py +++ b/hgext/remotefilelog/shallowrepo.py @@ -33,13 +33,6 @@ shallowutil, ) -if util.safehasattr(util, '_hgexecutable'): - # Before 5be286db - _hgexecutable = util.hgexecutable -else: - from mercurial.utils import procutil - _hgexecutable = procutil.hgexecutable - # These make*stores functions are global so that other extensions can replace # them. def makelocalstores(repo): @@ -192,7 +185,7 @@ opts=None): """Runs prefetch in background with optional repack """ - cmd = [_hgexecutable(), '-R', repo.origroot, 'prefetch'] + cmd = [procutil.hgexecutable(), '-R', repo.origroot, 'prefetch'] if repack: cmd.append('--repack') if revs: To: durin42, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel