[jhbuild] fix copydir usage in svn update case



commit a3f10797a0202397ebdefea6f6eac9763d5a5b66
Author: Frederic Peters <fpeters 0d be>
Date:   Thu Apr 30 20:15:19 2009 +0200

    fix copydir usage in svn update case
---
 jhbuild/versioncontrol/svn.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jhbuild/versioncontrol/svn.py b/jhbuild/versioncontrol/svn.py
index 1685beb..de3f22b 100644
--- a/jhbuild/versioncontrol/svn.py
+++ b/jhbuild/versioncontrol/svn.py
@@ -239,7 +239,7 @@ class SubversionBranch(Branch):
 
     def _update(self, buildscript, copydir=None):
         opt = []
-        if not copydir:
+        if copydir:
             outputdir = os.path.join(copydir, os.path.basename(self.srcdir))
         else:
             outputdir = self.srcdir



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]