call site 0 for path.svnurl.__str__
path/svn/testing/test_urlcommand.py - line 70
62
63
64
65
66
67
68
69
70
71
72
73
74
   def test_export(self):
       repo, wc = getrepowc('test_export_repo', 'test_export_wc')
       foo = wc.join('foo').ensure(dir=True)
       bar = foo.join('bar').ensure(file=True)
       bar.write('bar\n')
       foo.commit('testing something')
       exportpath = py.test.ensuretemp('test_export_exportdir')
       url = py.path.svnurl(repo + '/foo')
->     foo = url.export(exportpath.join('foo'))
       assert foo == exportpath.join('foo')
       assert isinstance(foo, py.path.local)
       assert foo.join('bar').check()
       assert not foo.join('.svn').check()
path/svn/urlcommand.py - line 169
162
163
164
165
166
167
168
169
170
171
172
173
174
   def export(self, topath):
       """ export to a local path
   
               topath should not exist prior to calling this, returns a
               py.path.local instance
           """
       topath = py.path.local(topath)
->     args = ['"%s"' % (self._escape(self),),
               '"%s"' % (self._escape(topath),)]
       if self.rev is not None:
           args = ['-r', str(self.rev)] + args
       self._svncmdexecauth('svn export %s' % (' '.join(args),))
       return topath
path/svn/svncommon.py - line 199
198
199
   def _escape(self, cmd):
->     return _escape_helper(cmd)
path/svn/svncommon.py - line 24
23
24
25
26
27
   def _escape_helper(text):
->     text = str(text)
       if py.std.sys.platform != 'win32':
           text = str(text).replace('$', '\\$')
       return text