~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make Series.refresh_patch automatically save the undo information
[stgit]
/
t
/
t1600-delete-one.sh
diff --git
a/t/t1600-delete-one.sh
b/t/t1600-delete-one.sh
index
d59d4ba
..
df03d79
100755
(executable)
--- a/
t/t1600-delete-one.sh
+++ b/
t/t1600-delete-one.sh
@@
-82,15
+82,6
@@
test_expect_success \
'
test_expect_success \
'
test_expect_success \
- 'Hide the topmost patch and try to delete it' \
- '
- [ $(stg applied | wc -l) -eq 2 ] &&
- stg hide bar &&
- stg delete bar &&
- [ $(stg applied | wc -l) -eq 1 ]
- '
-
-test_expect_success \
'Create another branch, and put one patch in each branch' \
'
stg branch --create br &&
'Create another branch, and put one patch in each branch' \
'
stg branch --create br &&
@@
-108,10
+99,10
@@
test_expect_success \
test_expect_success \
'Delete a patch in another branch' \
'
test_expect_success \
'Delete a patch in another branch' \
'
- [ $(stg applied | wc -l) -eq
2
] &&
+ [ $(stg applied | wc -l) -eq
3
] &&
[ $(stg applied -b br | wc -l) -eq 1 ] &&
stg delete -b br baz &&
[ $(stg applied -b br | wc -l) -eq 1 ] &&
stg delete -b br baz &&
- [ $(stg applied | wc -l) -eq
2
] &&
+ [ $(stg applied | wc -l) -eq
3
] &&
[ $(stg applied -b br | wc -l) -eq 0 ]
'
[ $(stg applied -b br | wc -l) -eq 0 ]
'