mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
MercurialInputScheme: Improve path display
This commit is contained in:
parent
fa01db9626
commit
6df58a0891
1 changed files with 5 additions and 1 deletions
|
@ -352,7 +352,11 @@ struct MercurialInputScheme : InputScheme
|
||||||
|
|
||||||
auto storePath = fetchToStore(store, input);
|
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
|
bool isLocked(const Input & input) const override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue