chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the applied/unapplied commands
[stgit]
/
t
/
t1200-push-modified.sh
diff --git
a/t/t1200-push-modified.sh
b/t/t1200-push-modified.sh
index 2edc76073c0ecf46b279fa25f5869a757191a300..113e41d5e1c57c39a931bc36604d77539d3bba2f 100755
(executable)
--- a/
t/t1200-push-modified.sh
+++ b/
t/t1200-push-modified.sh
@@
-26,8
+26,8
@@
test_expect_success \
printf "a\nc\n" > file && git add file && stg refresh &&
stg new p2 -m p2 &&
printf "a\nb\nc\n" > file && stg refresh &&
printf "a\nc\n" > file && git add file && stg refresh &&
stg new p2 -m p2 &&
printf "a\nb\nc\n" > file && stg refresh &&
- [ "$(echo $(stg
applied
))" = "p1 p2" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p1 p2" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ]
)
'
)
'
@@
-57,8
+57,8
@@
test_expect_success \
'Rollback the push' '
(
cd bar && stg push --undo &&
'Rollback the push' '
(
cd bar && stg push --undo &&
- [ "$(echo $(stg
applied
))" = "" ] &&
- [ "$(echo $(stg
unapplied
))" = "p1 p2" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "p1 p2" ]
)
'
)
'
@@
-66,8
+66,8
@@
test_expect_success \
'Push those patches while checking they were merged upstream' '
(
cd bar && stg push --merged --all
'Push those patches while checking they were merged upstream' '
(
cd bar && stg push --merged --all
- [ "$(echo $(stg
applied
))" = "p1 p2" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p1 p2" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ]
)
'
)
'