Mercurial > piecrust2
comparison piecrust/publishing/rsync.py @ 763:f6a13dba38d6
publish: Fix stupid typo.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 30 Jun 2016 22:39:33 -0700 |
parents | 6abb436fea5b |
children | 13e8b50a2113 |
comparison
equal
deleted
inserted
replaced
762:c84647485ab2 | 763:f6a13dba38d6 |
---|---|
8 def _getCommandArgs(self, ctx): | 8 def _getCommandArgs(self, ctx): |
9 if self.has_url_config: | 9 if self.has_url_config: |
10 orig = ctx.bake_out_dir | 10 orig = ctx.bake_out_dir |
11 dest = self.config.netloc + self.config.path | 11 dest = self.config.netloc + self.config.path |
12 else: | 12 else: |
13 orig = self.getConfigValue('source', ctx.bake_our_dir) | 13 orig = self.getConfigValue('source', ctx.bake_out_dir) |
14 dest = self.getConfigValue('destination') | 14 dest = self.getConfigValue('destination') |
15 | 15 |
16 rsync_options = None | 16 rsync_options = None |
17 if not self.has_url_config: | 17 if not self.has_url_config: |
18 rsync_options = self.getConfigValue('options') | 18 rsync_options = self.getConfigValue('options') |