Mercurial > gub
changeset 5534:0c0d7d8e05d6
nit.
author | Jan Nieuwenhuizen <janneke@gnu.org> |
---|---|
date | Fri, 21 Aug 2009 14:09:27 +0200 |
parents | 1abfa0b8d306 |
children | 05ce893b7f9f |
files | gub/repository.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/repository.py Fri Aug 21 14:09:12 2009 +0200 +++ b/gub/repository.py Fri Aug 21 14:09:27 2009 +0200 @@ -905,7 +905,7 @@ # if self.oslog and self.oslog.verbose >= oslog.level['command']: # verbose = 'v' - self.system ('rsync -a%(verbose)s --exclude %(vc_system)s %(dir)s/ %(copy)s' + self.system ('rsync -a%(verbose)s --exclude=%(vc_system)s %(dir)s/ %(copy)s' % locals ()) def _checkout_dir (self): @@ -936,7 +936,7 @@ pass @staticmethod - def create (rety, dir, source, branch, module='.', revision='HEAD', parameters=list ()): + def create (rety, dir, source, branch, module='.', revision='HEAD', parameters=list (), branchmodule=''): source = source.replace ('svn:http://', 'http://') source = source.replace ('svn:https://', 'https://') if not branch and source: @@ -947,7 +947,7 @@ if (not module or module == '.') and '/' in branch: module = branch[branch.rindex ('/')+1:] branch = branch[:branch.rindex ('/')] - branchmodule = parameters.get ('branchmodule', ['.'])[0] + branchmodule = parameters.get ('branchmodule', [branchmodule])[0] if not revision: revision = 'HEAD' return Subversion (dir, source=source, branch=branch,