diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-01-27 13:45:49 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-01-27 13:45:49 +0100 |
commit | 5046233b5a6e544eedb4720d81f21d37a7c35d3b (patch) | |
tree | c98939c94a99fe202214b7a9fd96a35e887ee259 /src/libstore | |
parent | cc22cf662b6998abbb5a08afce7678c5b149d204 (diff) |
Add Mercurial tests
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/fetchers/mercurial.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/fetchers/mercurial.cc b/src/libstore/fetchers/mercurial.cc index 304b2d967..e6f252700 100644 --- a/src/libstore/fetchers/mercurial.cc +++ b/src/libstore/fetchers/mercurial.cc @@ -89,6 +89,8 @@ struct MercurialInput : Input // FIXME: return lastModified. + // FIXME: don't clone local repositories. + if (!input->ref && !input->rev && isLocal && pathExists(actualUrl + "/.hg")) { bool clean = runProgram("hg", true, { "status", "-R", actualUrl, "--modified", "--added", "--removed" }) == ""; |