diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-16 19:30:05 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-16 19:30:05 +0100 |
commit | 77360c4fc7ad73bd345fd30b79b343862363cba1 (patch) | |
tree | 5387d67b4c9ee1905e7d6c35b0da72488c0ed67d /subvertpy/ra_svn.py | |
parent | 32324e845fa690a26e8d453b3df18e5b3d116cf7 (diff) |
Simple commands work now.
Diffstat (limited to 'subvertpy/ra_svn.py')
-rw-r--r-- | subvertpy/ra_svn.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/subvertpy/ra_svn.py b/subvertpy/ra_svn.py index 59f10918..5496f47d 100644 --- a/subvertpy/ra_svn.py +++ b/subvertpy/ra_svn.py @@ -208,7 +208,7 @@ class SVNClient(SVNConnection): # FIXME: Support other mechanisms as well self.send_msg([literal("ANONYMOUS"), [base64.b64encode("anonymous@%s" % socket.gethostname())]]) self.recv_msg() - (self._uuid, self._url, other_caps) = self._unpack() + (self._uuid, self._root_url, other_caps) = self._unpack() self._server_capabilities += other_caps def _unpack(self): @@ -311,7 +311,7 @@ class SVNClient(SVNConnection): raise NotImplementedError(self.do_diff) def get_repos_root(self): - raise NotImplementedError(self.get_repos_root) + return self._root_url def get_latest_revnum(self): self.send_msg([literal("get-latest-rev"), []]) @@ -319,7 +319,9 @@ class SVNClient(SVNConnection): return self._unpack()[0] def reparent(self, url): - raise NotImplementedError(self.reparent) + self.send_msg([literal("reparent"), [url]]) + self._recv_ack() + self._unpack() def get_uuid(self, uuid): return self._uuid |