git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Make t9128-git-svn-cmd-branch pass with svn 1.4

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Dec 3, 2008, 09:30 UTC
Message-ID
<1228296617-25473-1-git-send-email-git@drmicha.warpmail.net>
In-Reply-To
<7vbpvtj4kl.fsf@gitster.siamese.dyndns.org>

The copy command in svn 1.4 allows only one source (svn copy A D), whereas the copy command in svn 1.5 allows multiple sources (svn copy A B C D). This patch rewrites t9128 to use the backwards compatible form.

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
---
 t/t9128-git-svn-cmd-branch.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/t/t9128-git-svn-cmd-branch.sh b/t/t9128-git-svn-cmd-branch.sh
index e2b6696..252daa7 100755
--- a/t/t9128-git-svn-cmd-branch.sh
+++ b/t/t9128-git-svn-cmd-branch.sh
@@ -61,7 +61,9 @@ test_expect_success 'branch uses correct svn-remote' '
 	cd svn &&
 	mkdir mirror &&
 	svn add mirror &&
-	svn copy trunk tags branches mirror/ &&
+	svn copy trunk mirror/ &&
+	svn copy tags mirror/ &&
+	svn copy branches mirror/ &&
 	svn ci -m "made mirror" ) &&
 	rm -rf svn &&
 	git svn init -s -R mirror --prefix=mirror/ "$svnrepo"/mirror &&
-- 
1.6.1.rc1
Previous: Junio C HamanoNext: Michael J Gruber
Message 4 of 8 in “git-svn: Make branch use correct svn-remote”
  1. git-svn: Make branch use correct svn-remoteDeskin Miller, Dec 2, 2008
  2. Eric WongDec 2, 2008
  3. Junio C HamanoDec 3, 2008
  4. Make t9128-git-svn-cmd-branch pass with svn 1.4Michael J Gruber, Dec 3, 2008
  5. Michael J GruberDec 3, 2008
  6. Junio C HamanoDec 3, 2008
  7. Deskin MillerDec 3, 2008
  8. Eric WongDec 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.