call site 3 for path.SvnAuth.makecmdoptions
path/svn/testing/test_auth.py - line 181
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
   def test_info(self):
       u = svnurl_no_svn('http://foo.bar/svn/LICENSE.txt', auth=self.auth)
       def dirpath(self):
           return self
       u.cmdexec_output = '''\
      1717 johnny           1529 Nov 04 14:32 LICENSE.txt
      1716 johnny           5352 Nov 04 14:28 README.txt
   '''
       org_dp = u.__class__.dirpath
       u.__class__.dirpath = dirpath
       try:
->         info = u.info()
       finally:
           u.dirpath = org_dp
       assert info.size == 1529
path/svn/svncommon.py - line 181
178
179
180
181
182
183
184
185
186
   def info(self):
       """ return an Info structure with svn-provided information. """
       parent = self.dirpath()
->     nameinfo_seq = parent._listdir_nameinfo()
       bn = self.basename
       for name, info in nameinfo_seq:
           if name == bn:
               return info
       raise py.error.ENOENT(self)
path/svn/urlcommand.py - line 245
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
   def _listdir_nameinfo(self):
       """ return sequence of name-info directory entries of self """
       def builder():
           try:
               res = self._svnwithrev('ls', '-v')
           except process.cmdexec.Error, e:
               if e.err.find('non-existent in that revision') != -1:
                   raise py.error.ENOENT(self, e.err)
               elif e.err.find('File not found') != -1:
                   raise py.error.ENOENT(self, e.err)
               elif e.err.find('not part of a repository')!=-1:
                   raise py.error.ENOENT(self, e.err)
               elif e.err.find('Unable to open')!=-1:
                   raise py.error.ENOENT(self, e.err)
               elif e.err.lower().find('method not allowed')!=-1:
                   raise py.error.EACCES(self, e.err)
               raise py.error.Error(e.err)
           lines = res.split('\n')
           nameinfo_seq = []
           for lsline in lines:
               if lsline:
                   info = InfoSvnCommand(lsline)
                   if info._name != '.':
                       nameinfo_seq.append((info._name, info))
           return nameinfo_seq
->     auth = self.auth and self.auth.makecmdoptions() or None
       if self.rev is not None:
           return self._lsrevcache.getorbuild((self.strpath, self.rev, auth),
                                              builder)
       else:
           return self._lsnorevcache.getorbuild((self.strpath, auth),
                                                builder)