equal
deleted
inserted
replaced
17 def __del__(self): |
17 def __del__(self): |
18 if self.repo: |
18 if self.repo: |
19 self.release() |
19 self.release() |
20 |
20 |
21 class sshrepository(wireproto.wirerepository): |
21 class sshrepository(wireproto.wirerepository): |
22 def __init__(self, ui, path, create=0): |
22 def __init__(self, ui, path, create=False): |
23 self._url = path |
23 self._url = path |
24 self.ui = ui |
24 self.ui = ui |
25 |
25 |
26 u = util.url(path, parsequery=False, parsefragment=False) |
26 u = util.url(path, parsequery=False, parsefragment=False) |
27 if u.scheme != 'ssh' or not u.host or u.path is None: |
27 if u.scheme != 'ssh' or not u.host or u.path is None: |