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

Test failure with old svn [Re: [ANNOUNCE] Git 1.7.3.2]

From
Anders Kaseorg <andersk@mit.edu>
Date
Oct 22, 2010, 08:58 UTC
Message-ID
<1287737937.3785.15.camel@balanced-tree>
In-Reply-To
<7vwrparhjq.fsf@alter.siamese.dyndns.org>
On Thu, 2010-10-21 at 21:13 -0700, Junio C Hamano wrote:
> Steven Walter (1):
>       git-svn: check_cherry_pick should exclude commits already in our history

The new test in this commit fails with Subversion 1.4 and below (for example, on Ubuntu 6.06 and 8.04), where ‘svn merge’ required at least two arguments. I’m guessing that with Subversion < 1.5, the test doesn’t make sense and should just be skipped.

Anders
*** t9157-git-svn-fetch-merge.sh ***
Initialized empty Git repository in /build/buildd/git-1.7.3.2/t/trash directory.t9157-git-svn-fetch-merge/.git/
expecting success: 
	svn_cmd mkdir -m x "$svnrepo"/trunk &&
	svn_cmd mkdir -m x "$svnrepo"/branches &&
	svn_cmd co "$svnrepo"/trunk "$SVN_TREE" &&
	(
		cd "$SVN_TREE" &&
		touch foo &&
		svn add foo &&
		svn commit -m "initial commit" &&
		svn cp -m branch "$svnrepo"/trunk "$svnrepo"/branches/branch1 &&
		touch bar &&
		svn add bar &&
		svn commit -m x &&
		svn cp -m branch "$svnrepo"/trunk "$svnrepo"/branches/branch2 &&
		svn switch "$svnrepo"/branches/branch1 &&
		touch baz &&
		svn add baz &&
		svn commit -m x &&
		svn switch "$svnrepo"/trunk &&
		svn merge "$svnrepo"/branches/branch1 &&
		svn commit -m "merge" &&
		svn switch "$svnrepo"/branches/branch1 &&
		svn commit -m x &&
		svn switch "$svnrepo"/branches/branch2 &&
		svn merge "$svnrepo"/branches/branch1 &&
		svn commit -m "merge branch1" &&
		svn switch "$svnrepo"/trunk &&
		svn merge "$svnrepo"/branches/branch2 &&
		svn resolved baz &&
		svn commit -m "merge branch2"
	) &&
	rm -rf "$SVN_TREE"
	rm -rf "$SVN_TREE"
Committed revision 1.

Committed revision 2. Checked out revision 2. A foo Adding foo Transmitting file data . Committed revision 3.

Committed revision 4. A bar Adding bar Transmitting file data . Committed revision 5.

Committed revision 6. D bar Updated to revision 6. A baz Adding baz Transmitting file data . Committed revision 7. D baz A bar Updated to revision 7. svn: Not enough arguments provided; try 'svn help' for more info not ok - 1 initialize source svn repo

Previous: Junio C HamanoNext: Steven Walter
Message 2 of 6 in “[ANNOUNCE] Git 1.7.3.2”
  1. Junio C HamanoOct 22, 2010
  2. Test failure with old svn [Re: [ANNOUNCE] Git 1.7.3.2]Anders Kaseorg, Oct 22, 2010
  3. t9157-git-svn-fetch-merge.sh: remove dependency on subversion 1.5Steven Walter, Oct 23, 2010
  4. Anders KaseorgNov 18, 2010
  5. Anders KaseorgNov 18, 2010
  6. Eric WongNov 25, 2010

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.