3 # A partial get of a repo shall have the same _darcs/pristine as the original
11 # Create a development repo, do some work
13 darcs initialize
--darcs-2
14 echo ALL ignore-times
>> _darcs
/prefs
/defaults
17 darcs record
-a -m aa
-A x
20 darcs record
-a -m bb
-A x
22 # Create a release repo, pull the good patches and tag it
26 darcs initialize
--darcs-2
27 darcs pull
-a --patch a ..
31 # Pull the tag to the devel repo and continue developement
36 darcs record
-a -m cc
-A x
38 # Create a checkpoint and get a partial temp repo
40 darcs tag
-A x
--checkpoint first_checkpoint
41 darcs get
--partial . _partial
43 # We should have all our devel files
50 # This is a regression test for issue406
51 darcs tag
-A x
--checkpoint checkpointing_a_partial
55 # With the darcs-2 format, doing a get on a partial repo succeeds.
56 # With the darcs-1 format it would be required to add the --partial flag, or darcs would give an error.
57 darcs get _partial _second_partial