8 echo ALL ignore-times
>> _darcs
/prefs
/defaults
11 darcs record
-a -m AA
-A x
13 darcs record
-a -m BB
-A x
15 darcs record
-a -m CC
-A x
17 cp foo foo_version_1.0
19 darcs record
-a -m DD
-A x
21 darcs record
-a -m EE
-A x
23 darcs record
-a -m FF
-A x
26 # Check that get store commuted patches
28 darcs get
--tag 1.0 --repo-name temp2 temp1
29 cmp temp
2/foo temp
1/foo_version_1.0
30 rm -rf temp1 temp2 temp3
41 darcs rec
-Ax -alm 'Add file'
47 darcs rec
-Ax -alm 'Remove line 1'
52 darcs rec
-Ax -alm 'Remove line 3'
57 echo y
/n
/y |
tr / \\012 | darcs pull ..
/temp1
59 darcs push
-a ..
/temp1
61 darcs get
--tag=Tag temp1 temp3
65 rm -rf temp1 temp2 temp3
67 # Check that pending looks ok
73 darcs rec
-Ax -am 'add d'
76 darcs rec
-Ax -am 'rm d'
78 darcs get
--tag t temp1 temp2
80 if [ -f _darcs
/patches
/pending
]; then
81 if grep -v '^[{}]$' _darcs
/patches
/pending
>/dev
/null
; then
82 cat _darcs
/patches
/pending