[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 5579 - in trunk/subversion: libsvn_client tests/clients/cmdline

From: Brian Denny <brian_at_briandenny.net>
Date: 2003-04-08 06:34:08 CEST

On Mon, Apr 07, 2003 at 05:01:38PM -0500, kraai@tigris.org wrote:
> * subversion/tests/clients/cmdline/diff_tests.py
> (diff_head_of_moved_file): New.
>
[snip]
>
> +def diff_head_of_moved_file(sbox):
> + "diff against the head of a moved file"
> +
> + sbox.build()
> + mu_path = os.path.join(sbox.wc_dir, 'A', 'mu')
> + new_mu_path = mu_path + '.new'
> +
> + svntest.main.run_svn(None, 'mv', mu_path, new_mu_path)
> +
> + diff_output, err_output = svntest.main.run_svn(None, 'diff', '-r', 'HEAD',
> + new_mu_path)
> + if diff_output == []:
> + raise svntest.Failure

this test fails on my box; diff_output is [].

running by hand indicates that there is no segfault; but no diff output
either -- presumably because the file is unchanged aside from the mv?

-brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 8 06:28:49 2003

This is an archived mail posted to the Subversion Dev mailing list.