call site 16 for process.cmdexec
path/svn/testing/test_auth.py - line 101
99
100
101
102
103
   def test_checkout(self):
       wc = svnwc_no_svn('foo', auth=self.auth)
->     wc.checkout('url')
       assert wc.commands[0][-1] == ('--username="user" --password="pass" '
                                     '--no-auth-cache')
path/svn/wccommand.py - line 125
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
   def checkout(self, url=None, rev=None):
       """ checkout from url to local wcpath. """
       args = []
       if url is None:
           url = self.url
       if rev is None or rev == -1:
           if (py.std.sys.platform != 'win32' and
->                 svncommon._getsvnversion() == '1.3'):
               url += "@HEAD" 
       else:
           if svncommon._getsvnversion() == '1.3':
               url += "@%d" % rev
           else:
               args.append('-r' + str(rev))
       args.append(url)
       self._authsvn('co', args)
path/svn/svncommon.py - line 17
13
14
15
16
17
18
19
20
21
   def _getsvnversion(ver=[]):
       try:
           return ver[0]
       except IndexError:
->         v = py.process.cmdexec("svn -q --version")
           v.strip()
           v = '.'.join(v.split('.')[:2])
           ver.append(v)
           return v