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
/
replace_after_pending_add.sh
blob
b25b328f6d3528da68e31d6d80eb4ec7ce03b309
1
#!/usr/bin/env bash
2
3
set -ev
4
5
rm
-fr
temp1
6
7
mkdir temp1
8
cd
temp1
9
darcs
--version
10
11
darcs init
12
13
echo
a b a b a b
>
A
14
darcs add A
15
if
darcs replace a c A |
grep
Skipping
;
then
16
exit
1
17
fi
18
cd
..
19
20
rm
-fr
temp1
21