call site 1 for path.svnwc.checkout
path/svn/testing/test_urlcommand.py - line 77
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
   def test_export_rev(self):
->     repo, wc = getrepowc('test_export_rev_repo', 'test_export_rev_wc')
       foo = wc.join('foo').ensure(dir=True)
       bar = foo.join('bar').ensure(file=True)
       bar.write('bar\n')
       rev1 = foo.commit('testing something')
       print 'rev1:', rev1
       baz = foo.join('baz').ensure(file=True)
       baz.write('baz\n')
       rev2 = foo.commit('testing more')
           
       exportpath = py.test.ensuretemp('test_export_rev_exportdir')
       url = py.path.svnurl(repo + '/foo', rev=rev1)
       foo1 = url.export(exportpath.join('foo1'))
       assert foo1.check()
       assert foo1.join('bar').check()
       assert not foo1.join('baz').check()
   
       url = py.path.svnurl(repo + '/foo', rev=rev2)
       foo2 = url.export(exportpath.join('foo2'))
       assert foo2.check()
       assert foo2.join('bar').check()
       assert foo2.join('baz').check()
path/svn/testing/svntestbase.py - line 28
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
   def getrepowc(reponame='basetestrepo', wcname='wc'):
       repo = py.test.ensuretemp(reponame)
       wcdir = py.test.ensuretemp(wcname)
       if not repo.listdir():
           #assert not wcdir.check()
           repo.ensure(dir=1)
           py.process.cmdexec('svnadmin create "%s"' %
                   svncommon._escape_helper(repo))
           py.process.cmdexec('svnadmin load -q "%s" <"%s"' %
                   (svncommon._escape_helper(repo), repodump))
           print "created svn repository", repo
           wcdir.ensure(dir=1)
           wc = py.path.svnwc(wcdir)
           if py.std.sys.platform == 'win32':
               repo = '/' + str(repo).replace('\\', '/')
->         wc.checkout(url='file://%s' % repo)
           print "checked out new repo into", wc
       else:
           print "using repository at", repo
           wc = py.path.svnwc(wcdir)
       return ("file://%s" % repo, wc)