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
/
unrecord-remove.sh
blob
8dba5af6a58bbc1ba05497cb609fdb68be59f69b
1
#!/usr/bin/env bash
2
set -ev
3
4
rm
-rf
temp1
5
mkdir temp1
6
cd
temp1
7
darcs init
8
echo
foo
>
foo
9
darcs add foo
10
11
darcs record
-a -m
'addfoo'
12
13
darcs remove foo
14
15
darcs whatsnew
>
correct
16
cat
correct
17
18
darcs record
-a -m
'rmfoo'
19
20
darcs unrecord
-a --last
1
21
22
darcs whatsnew
>
unrecorded
23
cat
unrecorded
24
25
diff
-u
correct unrecorded
26
27
cd
..
28
rm
-rf
temp1