Follow upstream changes -- rest
[git-darcs-import.git] / tests / amend-cancelling.sh
blobc3fc05cbcff172f39b36fce8cd6b1b7d7fdd590b
1 #!/usr/bin/env bash
2 set -ev
4 # This checks for a possible bug in patch selection where the no available
5 # patches case is hit.
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'
18 cd ..
19 rm -rf temp1