Make libsvn's update() work as documented.
This commit is contained in:
parent
e2ecb6c8e9
commit
999bf89835
2 changed files with 2 additions and 3 deletions
|
@ -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]
|
||||
|
||||
|
|
|
@ -261,7 +261,7 @@ if __name__ == "__main__":
|
|||
|
||||
svn = libsvn.SVN(wescamp)
|
||||
|
||||
svn.update(None, addon)
|
||||
svn.update(None, [addon])
|
||||
|
||||
svn.remove(addon)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue