about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2017-11-03T09·49+0100
committerGitHub <noreply@github.com>2017-11-03T09·49+0100
commite104842f8b0dfb16ee06301da955ec3dc634e01a (patch)
tree356b97205f0c4a88ced16a516a837860a2e8c23e
parent4070264613bec69d746aa2e58ecaa1a71dc62374 (diff)
parent5ab37f0e44d6e5a4c7fb55d9974bc7e225eed200 (diff)
Merge pull request #1660 from 4z3/patch-1
fetchMercurial: fix error message
-rw-r--r--src/libexpr/primops/fetchMercurial.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops/fetchMercurial.cc b/src/libexpr/primops/fetchMercurial.cc
index e68d1a2a5539..f48d003fcd1d 100644
--- a/src/libexpr/primops/fetchMercurial.cc
+++ b/src/libexpr/primops/fetchMercurial.cc
@@ -167,7 +167,7 @@ static void prim_fetchMercurial(EvalState & state, const Pos & pos, Value * * ar
             else if (n == "name")
                 name = state.forceStringNoCtx(*attr.value, *attr.pos);
             else
-                throw EvalError("unsupported argument '%s' to 'fetchGit', at %s", attr.name, *attr.pos);
+                throw EvalError("unsupported argument '%s' to 'fetchMercurial', at %s", attr.name, *attr.pos);
         }
 
         if (url.empty())