diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-03 17:04:52 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-03 17:04:52 -0400 |
commit | a08863d8b8613b067766d0dca33c1f0c651d498d (patch) | |
tree | e7c9a5a6007428a5ecf1393a5df71f2a574c2c76 /Remote.hs | |
parent | 3bb9a92952f0da499315c897e3489fc02188618c (diff) |
vicfg: New command, allows editing (or simply viewing) most of the repository configuration settings stored in the git-annex branch.
Incomplete; I need to finish parsing and saving. This will also be used
for editing transfer control expresssions.
Removed the group display from the status output, I didn't really
like that format, and vicfg can be used to see as well as edit rempository
group membership.
Diffstat (limited to 'Remote.hs')
-rw-r--r-- | Remote.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,6 +42,7 @@ module Remote ( import qualified Data.Map as M import Text.JSON import Text.JSON.Generic +import Data.Tuple import Common.Annex import Types.Remote @@ -100,7 +101,6 @@ nameToUUID n = byName' n >>= go Nothing -> return $ byuuid m byuuid m = M.lookup (toUUID n) $ transform double m transform a = M.fromList . map a . M.toList - swap (a, b) = (b, a) double (a, _) = (a, a) {- Pretty-prints a list of UUIDs of remotes, for human display. |