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
Find git executable at run time
[git-darcs-import.git]
/
tests
/
several_commands.sh
blob
bd8250f28c779b5b3d71368cae77d69f5e9d90ca
1
#!/usr/bin/env bash
2
set -ev
3
4
rm
-rf
temp1
5
mkdir temp1
6
cd
temp1
7
darcs init
8
echo
hello world
>
foo
9
darcs add foo
10
darcs record
-a -m
add
-A
x
11
echo
goodbye world
>>
foo
12
darcs
diff
13
darcs
diff
-u
14
darcs whatsnew
15
darcs whatsnew
--summary
16
echo
y | darcs revert
-a
17
darcs show contents foo |
cmp
foo
-
18
mkdir d
19
darcs add d
20
darcs record
-a -m
'add dir'
-A
x
21
rmdir
d
22
darcs revert
-a
d
23
cd
..
24
rm
-rf
temp1
25