From 2fb1cfc4ae0cfb3f012e074f2f855c592f866b05 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 Feb 2014 17:38:23 -0400 Subject: add git annex view command (And a vpop command, which is still a bit buggy.) Still need to do vadd and vrm, though this also adds their documentation. Currently not very happy with the view log data serialization. I had to lose the TDFA regexps temporarily, so I can have Read/Show instances of View. I expect the view log format will change in some incompatable way later, probably adding last known refs for the parent branch to View or something like that. Anyway, it basically works, although it's a bit slow looking up the metadata. The actual git branch construction is about as fast as it can be using the current git plumbing. This commit was sponsored by Peter Hogg. --- Test.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Test.hs') diff --git a/Test.hs b/Test.hs index 64ec11074..624636ed5 100644 --- a/Test.hs +++ b/Test.hs @@ -55,6 +55,7 @@ import qualified Crypto import qualified Annex.Init import qualified Annex.CatFile import qualified Annex.View +import qualified Logs.View import qualified Utility.Path import qualified Utility.FileMode import qualified Build.SysConfig @@ -148,7 +149,7 @@ properties = localOption (QuickCheckTests 1000) $ testGroup "QuickCheck" , testProperty "prop_duration_roundtrips" Utility.HumanTime.prop_duration_roundtrips , testProperty "prop_metadata_sane" Types.MetaData.prop_metadata_sane , testProperty "prop_metadata_serialize" Types.MetaData.prop_metadata_serialize - , testProperty "prop_branchView_legal" Annex.View.prop_branchView_legal + , testProperty "prop_branchView_legal" Logs.View.prop_branchView_legal , testProperty "prop_view_roundtrips" Annex.View.prop_view_roundtrips ] -- cgit v1.2.3