File: issue1956.sh

package info (click to toggle)
darcs 2.18.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,008 kB
  • sloc: haskell: 47,748; sh: 13,466; ansic: 447; perl: 134; makefile: 6
file content (35 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## Test for issue1956

# copied almost verbatim from igloo's
# http://bugs.darcs.net/file1862/darcs_bug_with_touch.sh

. lib

rm -rf a
rm -rf b

mkdir a
cd a
darcs init --darcs-2
echo A > file
darcs add file
darcs rec -a -m A
cd ..

darcs get a b

cd a
echo BB > file
darcs rec -a -m B
cd ..

cd b
touch ts
echo R > file
touch file --reference=ts
darcs rec -a -m R
echo S > file
touch file --reference=ts
# darcs rec -a -m S
echo y| darcs pull ../a -ap B
cd ..