8 echo .
> files-dirs.tmp
10 echo "./$x" >> files.tmp
11 echo "./$x" >> files-dirs.tmp
14 echo "./$x" >> dirs.tmp
15 echo "./$x" >> files-dirs.tmp
17 darcs query manifest
$3 --files --no-directories |
sort > darcs-files.tmp
18 darcs query manifest
$3 --no-files --directories |
sort > darcs-dirs.tmp
19 darcs query manifest
$3 --files --directories |
sort > darcs-files-dirs.tmp
20 for x
in files
dirs files-dirs
; do
21 sort -o sorted-
$x.tmp
$x.tmp
22 diff sorted-
$x.tmp darcs-
$x.tmp
32 check_manifest
"" "" "--no-pending"
33 check_manifest
"" "" "--pending"
36 check_manifest
"" "" "--no-pending"
37 check_manifest
"a" "" "--pending"
40 check_manifest
"" "" "--no-pending"
41 check_manifest
"a b" "" "--pending"
44 check_manifest
"" "" "--no-pending"
45 check_manifest
"a b" "c" "--pending"
47 check_manifest
"" "" "--no-pending"
48 check_manifest
"a b c/1 c/2" "c" "--pending"
52 check_manifest
"" "" "--no-pending"
53 check_manifest
"a b c/1 c/2 d/3 d/4" "c d" "--pending"
54 darcs record
-A test --all --patch-name "patch 1" --skip-long-comment
55 check_manifest
"a b c/1 c/2 d/3 d/4" "c d" "--no-pending"
56 check_manifest
"a b c/1 c/2 d/3 d/4" "c d" "--pending"
59 check_manifest
"a b c/1 c/2 d/3 d/4" "c d" "--no-pending"
60 check_manifest
"a b c/1 c/2 e/3 e/4" "c e" "--pending"
62 check_manifest
"a b c/1 c/2 d/3 d/4" "c d" "--no-pending"
63 check_manifest
"a b c/1 c/2 e/3 e/4" "c e" "--pending"
65 check_manifest
"a b c/1 c/2 d/3 d/4" "c d" "--no-pending"
66 check_manifest
"a b c/2 e/3 e/4" "c e" "--pending"
68 check_manifest
"a b c/1 c/2 d/3 d/4" "c d" "--no-pending"
69 check_manifest
"a b c/1 e/3 e/4" "c e" "--pending"
70 darcs record
-A test --all --patch-name "patch 2" --skip-long-comment
71 check_manifest
"a b c/1 e/3 e/4" "c e" "--no-pending"
72 check_manifest
"a b c/1 e/3 e/4" "c e" "--pending"
75 check_manifest
"a b c/1 e/3 e/4" "c e" "--no-pending"
76 check_manifest
"a b e/3 e/4" "c e" "--pending"
78 check_manifest
"a b c/1 e/3 e/4" "c e" "--no-pending"
79 check_manifest
"a b e/3 e/4" "e" "--pending"
80 darcs record
-A test --all --patch-name "patch 3" --skip-long-comment
81 check_manifest
"a b e/3 e/4" "e" "--no-pending"
82 check_manifest
"a b e/3 e/4" "e" "--pending"
86 check_manifest
"a b e/3 e/4" "e" "--no-pending"
87 check_manifest
"a b3 e/3 e/4" "e" "--pending"
88 darcs record
-A test --all --patch-name "patch 3" --skip-long-comment
89 check_manifest
"a b3 e/3 e/4" "e" "--no-pending"
90 check_manifest
"a b3 e/3 e/4" "e" "--pending"