Index: tools/svn.py |
=================================================================== |
--- tools/svn.py (revision 11476) |
+++ tools/svn.py (working copy) |
@@ -85,6 +85,15 @@ |
""" |
return self._RunCommand([SVN, 'checkout', url, path]) |
+ def Update(self, path): |
+ """Update the working copy. |
+ Returns stdout as a single string. |
+ |
+ @param path path (within self._directory) within which to run |
+ "svn update" |
+ """ |
+ return self._RunCommand([SVN, 'update', path]) |
+ |
def ListSubdirs(self, url): |
"""Returns a list of all subdirectories (not files) within a given SVN |
url. |