X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/0209d76762e5f0add836bd8144514173d9f8c3d6..cb68860194290ad4eb6a2baa65a53a756ad98b7b:/t/t2102-pull-policy-rebase.sh diff --git a/t/t2102-pull-policy-rebase.sh b/t/t2102-pull-policy-rebase.sh index 41f8168..ce2e32f 100755 --- a/t/t2102-pull-policy-rebase.sh +++ b/t/t2102-pull-policy-rebase.sh @@ -10,8 +10,8 @@ test_description='Excercise pull-policy "rebase".' test_expect_success \ 'Fork stack off parent branch, and add patches to the stack' \ ' - stg init & git branch -m master parent && + stg init && stg branch --create stack && git repo-config branch.stack.stgit.pull-policy rebase && git repo-config --list && @@ -36,28 +36,4 @@ test_expect_success \ test `wc -l file3 && stg add file3 && stg refresh && - stg branch stack && stg commit && stg new c2 -m c2 && - echo a >> file && stg refresh - ' -test_expect_failure \ - 'Try to pull/rebase now that stack base has moved' \ - 'stg pull' - -test_expect_success \ - 'Force the pull/rebase, but do not push yet' \ - 'stg pull --force --nopush' -test_expect_failure \ - '...check we lost the committed patch' \ - 'test -e file' -test_expect_failure \ - '...and check we get a conflict while pushing' \ - 'stg push' - test_done