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

Re: [PATCH] Updating a locally modified file with endline translation

From: <cmpilato_at_collab.net>
Date: 2002-02-14 17:41:20 CET

Vladimir Prus <ghost@cs.msu.su> writes:

> A question:
> In the test code above, I have to explicitly change directory to
> working copy. Otherwise, all commits/updates fill happen in
> subversion tree. However, other tests in update_tests.py don't do
> that? What am I missing?

Most other tests, when building paths to operate on, use:

   os.path.join (wc_dir, 'A', 'D', 'G', 'rho')

instead of what you did:

   os.path.join ('A', 'D', 'G', 'rho')

The way our testing setup current exists, it is impossible to test any
Subversion operation that needs `.' as the target without doing the
cwd stuff like you did. If your test is not expected to behave any
differently in:

   (cd foo; svn <command> .)


   svn <command> foo

You should probably just prepend wc_dir to all the paths in use.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:07 2006

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.