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

Re: [PATCH] run-repos-tests.py fix for Windows

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-03-13 03:27:38 CET

"D.J. Heap" <dj@shadyvale.net> writes:

> Log:
> Use the safe_rmtree method (from the cmdline test suite) of removing
> old repositories since they now have read-only files which Windows
> will not delete.

My "making it read-only in the repository appears harmless" comment
proved less than accurate :-(

> * subversion/tests/python-libs/exectest.py
> (safe_rmtree, chmod_tree): New methods copied from
> subversion/tests/clients/cmdline/svntest/main.py for safely
> removing file trees.
> (run_tests): Use the new safe_rmtree.

It's OK on Linux but I don't have Windows. I assume that you have
tested it on Windows, so it's OK for the trunk.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 13 03:27:55 2004

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.