spack diff: allow hashes from mirrors (#41043)
This commit is contained in:
parent
96f3c76052
commit
4bd47d89db
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ def diff(parser, args):
|
||||||
|
|
||||||
specs = []
|
specs = []
|
||||||
for spec in spack.cmd.parse_specs(args.specs):
|
for spec in spack.cmd.parse_specs(args.specs):
|
||||||
|
# If the spec has a hash, check it before disambiguating
|
||||||
|
spec.replace_hash()
|
||||||
if spec.concrete:
|
if spec.concrete:
|
||||||
specs.append(spec)
|
specs.append(spec)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue