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

[PATCH] git-svn: fix test for trunk svn (commit message not needed)

From
Sam Vilain <sam.vilain@catalyst.net.nz>
Date
Sep 21, 2007, 02:02 UTC
Message-ID
<11903401551014-git-send-email-sam.vilain@catalyst.net.nz>
In-Reply-To
<1190340155146-git-send-email-sam.vilain@catalyst.net.nz>

The 'svn mv -m "rename to thunk"' was a local operation, therefore not needing a commit message, it was silently ignored. Newer svn clients will instead raise an error.

Signed-off-by: Sam Vilain <sam.vilain@catalyst.net.nz>
---
 t/t9104-git-svn-follow-parent.sh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/t/t9104-git-svn-follow-parent.sh b/t/t9104-git-svn-follow-parent.sh
index d8f9cab..9eab945 100755
--- a/t/t9104-git-svn-follow-parent.sh
+++ b/t/t9104-git-svn-follow-parent.sh
@@ -19,8 +19,7 @@ test_expect_success 'initialize repo' "
 	poke trunk/readme &&
 	svn commit -m 'another commit' &&
 	svn up &&
-	svn mv -m 'rename to thunk' trunk thunk &&
-	svn up &&
+	svn mv trunk thunk &&
 	echo goodbye >> thunk/readme &&
 	poke thunk/readme &&
 	svn commit -m 'bye now' &&
-- 
1.5.2.4
Previous: Sam VilainNext: Sam Vilain
Message 2 of 9 in “git-svn: pass tests on svn trunk”
  1. 0/3 git-svn: pass tests on svn trunkSam Vilain, Sep 21, 2007
  2. git-svn: fix test for trunk svn (commit message not needed)Sam Vilain, Sep 21, 2007
  3. git-svn: fix test for trunk svn (transaction out of date)Sam Vilain, Sep 21, 2007
  4. git-svn: handle changed svn command-line syntaxSam Vilain, Sep 21, 2007
  5. Sam VilainSep 21, 2007
  6. Sam VilainSep 21, 2007
  7. Eric WongSep 21, 2007
  8. Karl HasselströmSep 22, 2007
  9. Eric WongSep 21, 2007

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.