comparison rhodecode/lib/vcs/backends/git/changeset.py @ 3394:fe2bb88bf7ac beta

whitespace cleanup
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 21 Feb 2013 02:31:21 +0100
parents e67b2ef07a8e
children 0065f7fe60f6
comparison
equal deleted inserted replaced
3393:f2425f427f8e 3394:fe2bb88bf7ac
362 if kind == 'zip': 362 if kind == 'zip':
363 frmt = 'zip' 363 frmt = 'zip'
364 else: 364 else:
365 frmt = 'tar' 365 frmt = 'tar'
366 _git_path = rhodecode.CONFIG.get('git_path', 'git') 366 _git_path = rhodecode.CONFIG.get('git_path', 'git')
367 cmd = '%s archive --format=%s --prefix=%s/ %s' % (_git_path, 367 cmd = '%s archive --format=%s --prefix=%s/ %s' % (_git_path,
368 frmt, prefix, self.raw_id) 368 frmt, prefix, self.raw_id)
369 if kind == 'tgz': 369 if kind == 'tgz':
370 cmd += ' | gzip -9' 370 cmd += ' | gzip -9'
371 elif kind == 'tbz2': 371 elif kind == 'tbz2':
372 cmd += ' | bzip2 -9' 372 cmd += ' | bzip2 -9'