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

Re: [PATCH] svn command - ls - Multiple targets

From: Noorul Islam K M <noorul_at_collab.net>
Date: Mon, 14 Feb 2011 19:28:29 +0530

Philip Martin <philip.martin_at_wandisco.com> writes:

> Stefan Sperling <stsp_at_elego.de> writes:
>
>>> + alpha = os.path.join(wc_dir, 'A/B/E/alpha')
>>> + beta = os.path.join(wc_dir, 'A/B/E/beta')
>>
>> I think you need this here instead:
>> alpha = os.path.join(wc_dir, 'A', 'B', 'E', alpha')
>> beta = os.path.join(wc_dir, 'A', 'B', 'E', 'beta')
>>
>> Otherwise you'll get something like this on Windows:
>> C:\foo\bar\wc_dir\A/B/E/alpha
>> C:\foo\bar\wc_dir\A/B/E/beta
>
> Or:
>
> sbox.ospath('A/B/E/alpha')
>

Incorporated.

>>> + exit_code, output, error = svntest.main.run_svn(1, 'ls', alpha,
>>> + non_existent_path, beta)
>>> +
>>> + # Verify error
>>> + if not expected_err_re.match("".join(error)):
>>> + raise svntest.Failure('Cat failed: expected error "%s", but received '
>>> + '"%s"' % (expected_err, "".join(error)))
>
> It should be possible to pass the regex into run_and_verify_svn.

I tried but different combinations. At last I ended up with this.

Thanks and Regards
Noorul
Received on 2011-02-14 14:59:28 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.