call site 17 for path.SvnAuth.makecmdoptions
path/svn/testing/test_auth.py - line 240
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
   def test_log(self):
       u = svnurl_no_svn('http://foo.bar/svn/foo', auth=self.auth)
       u.popen_output = py.std.StringIO.StringIO('''\
   <?xml version="1.0"?>
   <log>
   <logentry revision="51381">
   <author>guido</author>
   <date>2008-02-11T12:12:18.476481Z</date>
   <msg>Creating branch to work on auth support for py.path.svn*.
   </msg>
   </logentry>
   </log>
   ''')
       u.check = lambda *args, **kwargs: True
->     ret = u.log(10, 20, verbose=True)
       assert '--username="foo" --password="bar"' in u.commands[0]
       assert len(ret) == 1
       assert int(ret[0].rev) == 51381
       assert ret[0].author == 'guido'
path/svn/urlcommand.py - line 269
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
   def log(self, rev_start=None, rev_end=1, verbose=False):
       """ return a list of LogEntry instances for this path.
   rev_start is the starting revision (defaulting to the first one).
   rev_end is the last revision (defaulting to HEAD).
   if verbose is True, then the LogEntry instances also know which files changed.
   """
       assert self.check() #make it simpler for the pipe
       rev_start = rev_start is None and _Head or rev_start
       rev_end = rev_end is None and _Head or rev_end
   
       if rev_start is _Head and rev_end == 1:
           rev_opt = ""
       else:
           rev_opt = "-r %s:%s" % (rev_start, rev_end)
       verbose_opt = verbose and "-v" or ""
       xmlpipe =  self._svnpopenauth('svn log --xml %s %s "%s"' %
->                                   (rev_opt, verbose_opt, self.strpath))
       from xml.dom import minidom
       tree = minidom.parse(xmlpipe)
       result = []
       for logentry in filter(None, tree.firstChild.childNodes):
           if logentry.nodeType == logentry.ELEMENT_NODE:
               result.append(LogEntry(logentry))
       return result
path/svn/urlcommand.py - line 91
87
88
89
90
91
92
   def _svnpopenauth(self, cmd):
       """ execute an svn command, return a pipe for reading stdin """
       cmd = svncommon.fixlocale() + cmd
       if self.auth is not None:
->         cmd += ' ' + self.auth.makecmdoptions()
       return self._popen(cmd)