repo.or.cz
/
git-darcs-import.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow upstream changes -- rest
[git-darcs-import.git]
/
tests
/
record-interactive.sh
blob
59d40ede48eebde23e842855641c7d62749fcb76
1
#!/usr/bin/env bash
2
set -ev
3
4
not
() {
"$@"
&&
exit
1
||
:; }
5
6
7
rm
-rf
temp1
8
mkdir temp1
9
cd
temp1
10
darcs init
11
12
touch
foo
13
darcs add foo
14
darcs record
-a -m
addfoo
15
16
darcs replace one two foo
17
darcs replace three four foo
18
darcs replace five six foo
19
20
echo
sa | darcs record
-m
cancelled
21
22
darcs whatsnew
23
24
darcs changes
>
ch
25
not
grep
cancelled ch
26
27
cd
..
28
rm
-rf
temp1