chiark / gitweb /
Fix type in cf0287a
authorCiaran Gultnieks <ciaran@ciarang.com>
Sun, 5 Feb 2012 13:52:33 +0000 (13:52 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Sun, 5 Feb 2012 13:52:33 +0000 (13:52 +0000)
common.py

index 8d12767d11e89e5e508b4981fdf22de236179847..4d873b09f82469af04e049bd18ebf14cbc4c76c3 100644 (file)
--- a/common.py
+++ b/common.py
@@ -208,7 +208,7 @@ class vcs_svn(vcs):
                         self.userargs(), cwd=self.local) != 0:
                     raise VCSException("Svn update failed")
                 self.refreshed = True
-        if ref:
+        if rev:
             revargs = ['-r', rev]
             if subprocess.call(['svn', 'update', '--force'] + revargs +
                     self.userargs(), cwd=self.local) != 0: