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
/
amend-cancelling.sh
blob
c3fc05cbcff172f39b36fce8cd6b1b7d7fdd590b
1
#!/usr/bin/env bash
2
set -ev
3
4
# This checks for a possible bug in patch selection where the no available
5
# patches case is hit.
6
7
rm
-rf
temp1
8
mkdir temp1
9
cd
temp1
10
darcs init
11
touch
A
12
darcs add A
13
darcs record
-am
A
14
echo
'l1'
>>
A
15
darcs record
-am
l1
16
darcs amend-record
-a --patch
'A'
17
18
cd
..
19
rm
-rf
temp1