Skip to content

Commit

Permalink
MercurialInputScheme: Improve path display
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Apr 15, 2024
1 parent ece29a5 commit 5a724c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/libfetchers/unix/mercurial.cc
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,11 @@ struct MercurialInputScheme : InputScheme

auto storePath = fetchToStore(store, input);

return {makeStorePathAccessor(store, storePath), input};
auto accessor = makeStorePathAccessor(store, storePath);

accessor->setPathDisplay("«" + input.to_string() + "»");

return {accessor, input};
}

bool isLocked(const Input & input) const override
Expand Down

0 comments on commit 5a724c8

Please sign in to comment.