{"thread":{"id":"4271","subject":"[PATCH] git-svn: t0000: add -f flag to checkout","startedAt":"2006-05-24T02:13:18Z","lastAt":"2006-05-24T02:13:18Z","messageCount":1,"participants":["Eric Wong"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"20600","messageId":"11484367982046-git-send-email-normalperson@yhbt.net","threadId":"4271","inReplyTo":null,"subject":"[PATCH] git-svn: t0000: add -f flag to checkout","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-05-24T02:13:18Z","receivedAt":"2006-05-24T02:13:18Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"Some changes to the latest git.git made this test croak.  So\nwe'll always just force everything when using a new branch.\n\nSigned-off-by: Eric Wong <normalperson@yhbt.net>\n\n---\n\n contrib/git-svn/t/t0000-contrib-git-svn.sh |   10 +++++-----\n 1 files changed, 5 insertions(+), 5 deletions(-)\n\n9439cefac1aa09cdc8553f452d84ddf71be2f909\ndiff --git a/contrib/git-svn/t/t0000-contrib-git-svn.sh b/contrib/git-svn/t/t0000-contrib-git-svn.sh\nindex 80ad357..f400202 100644\n--- a/contrib/git-svn/t/t0000-contrib-git-svn.sh\n+++ b/contrib/git-svn/t/t0000-contrib-git-svn.sh\n@@ -71,7 +71,7 @@ test_expect_success \\\n \n \n name='try a deep --rmdir with a commit'\n-git checkout -b mybranch remotes/git-svn\n+git checkout -f -b mybranch remotes/git-svn\n mv dir/a/b/c/d/e/file dir/file\n cp dir/file file\n git update-index --add --remove dir/a/b/c/d/e/file dir/file file\n@@ -97,7 +97,7 @@ test_expect_code 1 \"$name\" \\\n \n name='detect node change from directory to file #1'\n rm -rf dir $GIT_DIR/index\n-git checkout -b mybranch2 remotes/git-svn\n+git checkout -f -b mybranch2 remotes/git-svn\n mv bar/zzz zzz\n rm -rf bar\n mv zzz bar\n@@ -112,7 +112,7 @@ test_expect_code 1 \"$name\" \\\n \n name='detect node change from file to directory #2'\n rm -f $GIT_DIR/index\n-git checkout -b mybranch3 remotes/git-svn\n+git checkout -f -b mybranch3 remotes/git-svn\n rm bar/zzz\n git-update-index --remove bar/zzz\n mkdir bar/zzz\n@@ -127,7 +127,7 @@ test_expect_code 1 \"$name\" \\\n \n name='detect node change from directory to file #2'\n rm -f $GIT_DIR/index\n-git checkout -b mybranch4 remotes/git-svn\n+git checkout -f -b mybranch4 remotes/git-svn\n rm -rf dir\n git update-index --remove -- dir/file\n touch dir\n@@ -142,7 +142,7 @@ test_expect_code 1 \"$name\" \\\n \n name='remove executable bit from a file'\n rm -f $GIT_DIR/index\n-git checkout -b mybranch5 remotes/git-svn\n+git checkout -f -b mybranch5 remotes/git-svn\n chmod -x exec.sh\n git update-index exec.sh\n git commit -m \"$name\"\n-- \n1.3.2.g7d11\n"}]}