Commit 60dd19f8 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Add function to be possible export some path using subversion

parent a25437d1
...@@ -142,6 +142,9 @@ class Subversion(WorkingCopy): ...@@ -142,6 +142,9 @@ class Subversion(WorkingCopy):
def getRemoteComment(self): def getRemoteComment(self):
return 'r%s' % self.info()['revision'] return 'r%s' % self.info()['revision']
def export(self, path, url):
return self._getClient().export(path, url)
def log(self, path): def log(self, path):
"""return log of a file or dir """return log of a file or dir
""" """
......
...@@ -324,7 +324,10 @@ try: ...@@ -324,7 +324,10 @@ try:
return self.client.switch(path=path, url=url) return self.client.switch(path=path, url=url)
def checkout(self, path, url): def checkout(self, path, url):
return self.client.checkout(path=path, url=url) return self.client.checkout(path, url)
def export(self, path, url):
return self.client.export(path, url)
def log(self, path): def log(self, path):
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment