X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/blobdiff_plain/5f594e90e9a0867e1b87ffb8b0a077152246b56c..1d694f9b45e3dfef8916cf3d09e02ab4553f2030:/t/t2100-pull-policy-fetch.sh diff --git a/t/t2100-pull-policy-fetch.sh b/t/t2100-pull-policy-fetch.sh index 1f50069..670c7c6 100755 --- a/t/t2100-pull-policy-fetch.sh +++ b/t/t2100-pull-policy-fetch.sh @@ -19,10 +19,10 @@ test_expect_success \ (cd upstream && stg init) && stg clone upstream clone && (cd clone && - git repo-config branch.master.stgit.pull-policy fetch-rebase && - git repo-config --list && + git config branch.master.stgit.pull-policy fetch-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 ) ' @@ -30,7 +30,7 @@ test_expect_success \ 'Add non-rewinding commit upstream and pull it from clone' \ ' (cd upstream && stg new u1 -m u1 && - echo a > file2 && stg add file2 && stg refresh) && + echo a > file2 && git add file2 && stg refresh) && (cd clone && stg pull) && test -e clone/file2 ' @@ -55,18 +55,4 @@ test_expect_success \ test `wc -l file3 && stg add file3 && stg refresh) && - (cd clone && stg commit && stg new c2 -m c2 && - echo a >> file && stg refresh) - ' -test_expect_success \ - 'Try to and commit a patch in clone' \ - '(cd clone && ! stg pull)' - test_done