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
/
pull_two.sh
blob
7bdf5c63a5c71b2994c75ee816c23b45c84ad946
1
#!/usr/bin/env bash
2
3
# This test script, originally written by David Roundy is in the public
4
# domain.
5
6
set -ev
7
8
rm
-rf
temp1 temp2
9
10
mkdir temp1
11
cd
temp1
12
echo
foo
>
bar
13
darcs initialize
14
echo
record author me
>
_darcs
/
prefs
/
defaults
15
darcs add bar
16
darcs record
-a -m
addbar
17
18
cd
..
19
darcs get temp1 temp2
20
cd
temp1
21
date
>
bar
22
darcs record
-a -m
datebar
23
24
cd
..
/
temp1
25
echo
aack
>>
bar
26
darcs record
-a -m
aackbar
27
28
cd
..
/
temp2
29
30
darcs pull
-av
31
darcs check
32
33
cd
..
34
rm
-rf
temp1 temp2