HomePhabricator

prefetch: fix the hg executable location for background prefetch

Authored by singhsrb.

Description

prefetch: fix the hg executable location for background prefetch

Summary:
The background prefetch uses the incorrect executable while running
the prefetch command due to which there are no logs for the background
prefetch. This commit fixes that by specifying the correct executable.

Test Plan:

  • Ran all the tests.
  • Tested the output of util.hgexecutable() with system hg and chg, and verified that it returns the correct path. As expected, util.hgcmd() returns the corresponding path for hg and chg in this case.

Reviewers: #fbhgext, durham

Reviewed By: #fbhgext, durham

Differential Revision: https://phab.mercurial-scm.org/D1600

Details

Committed
singhsrbDec 5 2017, 5:26 PM
Reviewer
Restricted Project
Differential Revision
D1600: prefetch: fix the hg executable location for background prefetch
Parents
rFBHGX21fd2c088d1d: incremental-repack: do not repack largest 2 files if nothing else to do
Branches
Unknown
Tags
Unknown