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
Merge branch 'darcs' into master
[git-darcs-import.git]
/
tests
/
issue184_add.sh
blob
4f1bc76ed20dc9cdd1f0c813d3e54872cac4647f
1
#!/usr/bin/env bash
2
set -ev
3
4
not
() {
"$@"
&&
exit
1
||
:; }
5
6
# For issue184: recording files in directories that haven't explicity been added.
7
8
rm
-rf
temp1
9
mkdir temp1
10
cd
temp1
11
darcs init
12
mkdir new
13
mkdir new
/
dir
14
touch
new
/
dir
/
t.t
15
darcs add new
/
dir
/
t.t
16
darcs record
-am test
new
/
dir
/
t.t
>
log
17
not
grep
"don't want to record"
log
18
cd
..
19
20
rm
-rf
temp1