X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/05ec3711b232b8c37710a0dded6c5665516a59d0..4c47af784eb3357a403360e871c6e15a6ca70b39:/t/t2102-pull-policy-rebase.sh diff --git a/t/t2102-pull-policy-rebase.sh b/t/t2102-pull-policy-rebase.sh index 670673d..5619bda 100755 --- a/t/t2102-pull-policy-rebase.sh +++ b/t/t2102-pull-policy-rebase.sh @@ -13,17 +13,17 @@ test_expect_success \ git branch -m master parent && stg init && stg branch --create stack && - git repo-config branch.stack.stgit.pull-policy rebase && - git repo-config --list && + git config branch.stack.stgit.pull-policy rebase && + git config --list && stg new c1 -m c1 && - echo a > file && stg add file && stg refresh + echo a > file && git add file && stg refresh ' test_expect_success \ 'Add non-rewinding commit in parent and pull the stack' \ ' stg branch parent && stg new u1 -m u1 && - echo b > file2 && stg add file2 && stg refresh && + echo b > file2 && git add file2 && stg refresh && stg branch stack && stg pull && test -e file2 ' @@ -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