From 140a351fc535235ae5714122f0c98174cbdb19ce Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 19 Mar 2011 18:58:49 -0400 Subject: avoid version check before running version and upgrade commands There are two types of commands; those that access the repository and those that don't. Sorted. --- Command/Unlock.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Command/Unlock.hs') diff --git a/Command/Unlock.hs b/Command/Unlock.hs index bd1021cc3..ac7b22ac7 100644 --- a/Command/Unlock.hs +++ b/Command/Unlock.hs @@ -22,8 +22,8 @@ import CopyFile command :: [Command] command = - [ Command "unlock" paramPath seek "unlock files for modification" - , Command "edit" paramPath seek "same as unlock" + [ repoCommand "unlock" paramPath seek "unlock files for modification" + , repoCommand "edit" paramPath seek "same as unlock" ] seek :: [CommandSeek] -- cgit v1.2.3