Make libsvn's update() work as documented.

This commit is contained in:
Alexander van Gessel 2011-10-30 00:43:44 +01:00
parent e2ecb6c8e9
commit 999bf89835
2 changed files with 2 additions and 3 deletions

View file

@ -107,8 +107,7 @@ class SVN:
if(rev != None):
command += ["-r", rev]
if(files != None):
# FIXME files should be []
command += [self.checkout_path + "/" + files]
command += [self.checkout_path + "/" + f for f in files]
else:
command += [self.checkout_path]

View file

@ -261,7 +261,7 @@ if __name__ == "__main__":
svn = libsvn.SVN(wescamp)
svn.update(None, addon)
svn.update(None, [addon])
svn.remove(addon)