108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 | |
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)) |
self._svn('co', url, *args) | |