aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers/mercurial.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-31 01:07:59 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-31 01:07:59 +0000
commite3a2154f5ac91a5cbab5d0715984972e1dd7d40d (patch)
tree9a16869307d69f6dc8e0cebb861fa3a5549e636e /src/libfetchers/mercurial.cc
parenteee6ef86cd5f00db01369581bf3d2bc79710de0c (diff)
Fix indentation
Diffstat (limited to 'src/libfetchers/mercurial.cc')
-rw-r--r--src/libfetchers/mercurial.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libfetchers/mercurial.cc b/src/libfetchers/mercurial.cc
index aee42e136..3e76ffc4d 100644
--- a/src/libfetchers/mercurial.cc
+++ b/src/libfetchers/mercurial.cc
@@ -209,7 +209,7 @@ struct MercurialInputScheme : InputScheme
});
if (auto res = getCache()->lookup(store, mutableAttrs)) {
- auto rev2 = Hash::parseAny(getStrAttr(res->first, "rev"), htSHA1);
+ auto rev2 = Hash::parseAny(getStrAttr(res->first, "rev"), htSHA1);
if (!input.getRev() || input.getRev() == rev2) {
input.attrs.insert_or_assign("rev", rev2.gitRev());
return makeResult(res->first, std::move(res->second));