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

Re: [PATCH] Issue #854 Regression Test

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-09-02 20:01:28 CEST

Shlomi Fish <shlomif@vipe.stud.technion.ac.il> writes:

> +def revert_newly_added_dir(sbox):
> + "revert inside a newly added dir"
> +
> + sbox.build()
> +
> + wc_dir = sbox.wc_dir
> +
> + origin_dir = os.getcwd()
> +
> + os.chdir(wc_dir)
> +
> + os.mkdir("foo")
> +
> + svntest.main.run_svn(None, 'add', "foo")
> +
> + os.chdir("foo")
>
> + svntest.main.run_svn(None, 'revert', ".")

What is revert supposed to do in this circumstance?

> +
> + os.chdir("..")

$ svn st
~ foo

That doesn't look right, foo is still schedule add although it is
incomplete.

>
> + out, err = svntest.main.run_svn(None, 'update')

$ svn up
D foo
Updated to revision 1.

That doesn't look right either. Although the originally reported
error has changed, I don't think 854 can be described as fixed.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 2 20:02:24 2003

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.