Author: neels
Date: Thu Jan 26 12:40:54 2012
New Revision: 1236160
URL: http://svn.apache.org/viewvc?rev=1236160&view=rev
Log:
* subversion/tests/cmdline/svntest/factory.py: Do not use '.', use 'wc_dir'.
Modified:
subversion/trunk/subversion/tests/cmdline/svntest/factory.py
Modified: subversion/trunk/subversion/tests/cmdline/svntest/factory.py
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/svntest/factory.py?rev=1236160&r1=1236159&r2=1236160&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/cmdline/svntest/factory.py (original)
+++ subversion/trunk/subversion/tests/cmdline/svntest/factory.py Thu Jan 26
12:40:54 2012
@@ -1612,6 +1612,11 @@ class TestFactory:
def ensure_path_var(self, wc, pathelements):
"Given a path in a working copy, make sure we have a variable for it."
+
+ # special case: if a path is '.', simply use wc_dir.
+ if pathelements == ['.']:
+ return wc.py, wc.realpath
+
name = "_".join(pathelements)
if wc.suffix is not None: