chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stgit.el: Consistently use "marked" about marked patches
[stgit]
/
t
/
t1205-push-subdir.sh
diff --git
a/t/t1205-push-subdir.sh
b/t/t1205-push-subdir.sh
index 945eb7446b3e3085397e581c80abe311bcfa556a..2d5918bf6469fc58a6f2aad295b73f17a2b274bb 100755
(executable)
--- a/
t/t1205-push-subdir.sh
+++ b/
t/t1205-push-subdir.sh
@@
-12,8
+12,8
@@
test_expect_success 'Create some patches' '
git add x.txt foo/y.txt &&
stg refresh
done &&
git add x.txt foo/y.txt &&
stg refresh
done &&
- [ "$(echo $(stg
applied
))" = "p0 p1 p2" ] &&
- [ "$(echo $(stg
unapplied
))" = "" ]
+ [ "$(echo $(stg
series --applied --noprefix
))" = "p0 p1 p2" ] &&
+ [ "$(echo $(stg
series --unapplied --noprefix
))" = "" ]
'
test_expect_success 'Fast-forward push from a subdir' '
'
test_expect_success 'Fast-forward push from a subdir' '
@@
-47,7
+47,7
@@
test_expect_success 'Conflicting push from subdir' '
[ "$(echo $(cat x.txt))" = "x0" ] &&
[ "$(echo $(cat foo/y.txt))" = "y0" ] &&
cd foo &&
[ "$(echo $(cat x.txt))" = "x0" ] &&
[ "$(echo $(cat foo/y.txt))" = "y0" ] &&
cd foo &&
- conflict
_old
stg push p2 &&
+ conflict stg push p2 &&
cd .. &&
[ "$(echo $(stg status --conflict))" = "foo/y.txt x.txt" ]
'
cd .. &&
[ "$(echo $(stg status --conflict))" = "foo/y.txt x.txt" ]
'