[RDD/PATCH v3 23/23] t5800: point out that deleting branches does not work
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jul 16, 2011, 13:03 UTC
- Message-ID
- <1310821424-4750-24-git-send-email-srabbelier@gmail.com>
- In-Reply-To
- <1310821424-4750-1-git-send-email-srabbelier@gmail.com>
This test actually breaks the repositories involved somehow, so it is not enabled by default. ---
Not meant for inclusion.
t/t5800-remote-helpers.sh | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/t/t5800-remote-helpers.sh b/t/t5800-remote-helpers.sh index 68f8418..ad85888 100755 --- a/t/t5800-remote-helpers.sh +++ b/t/t5800-remote-helpers.sh @@ -133,6 +133,17 @@ test_expect_failure 'push new branch with old content' ' compare_refs clone refs/heads/existing server refs/heads/existing ' +test_expect_failure BROKEN 'delete branch' ' + (cd clone && + git checkout -b delete-me && + echo content >>file && + git commit -a -m eight && + git push origin delete-me + git push origin :delete-me) && + test_must_fail git --git-dir="server/.git" rev-parse --verify delete-me +' + + test_expect_failure 'push new branch with old:new refspec' ' (cd clone && git push origin new-name:new-refspec
-- 1.7.5.1.292.g728120