From 445a523b834114c54aa21a9d88a659bf8a1973f3 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 28 May 2023 17:25:29 -0500 Subject: [PATCH] fix: finish transition to 'ref' --- src/viv/viv.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index 1c54241..4e44054 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -1094,12 +1094,12 @@ class Viv: + " shouldn't be used with a git-based installation", 1, ) - sha256 = fetch_source(args.reference) + sha256 = fetch_source(args.ref) sys.path.append(str(c.srccache)) next_version = __import__(sha256).__version__ if self.local_version == next_version: - echo(f"no change between {args.reference} and local version") + echo(f"no change between {args.ref} and local version") sys.exit(0) if confirm( @@ -1130,7 +1130,7 @@ class Viv: ) sys.exit(1) - sha256 = fetch_source(args.reference) + sha256 = fetch_source(args.ref) sys.path.append(str(c.srccache)) downloaded_version = __import__(sha256).__version__ echo(f"Downloaded version: {downloaded_version}")