Mercurial > treepkg
comparison test/test_packager.py @ 517:de78084fcbce
rename do_svn_update in do_update because we provide svn and git support now
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Wed, 10 Nov 2010 13:17:32 +0000 |
parents | e5b66539f893 |
children | 94ff51f691a2 |
comparison
equal
deleted
inserted
replaced
516:f2de1c162d30 | 517:de78084fcbce |
---|---|
185 "", "") | 185 "", "") |
186 self.do_package = do_package | 186 self.do_package = do_package |
187 self.do_stop = do_stop | 187 self.do_stop = do_stop |
188 self.instructions_file = instructions_file | 188 self.instructions_file = instructions_file |
189 | 189 |
190 def package_if_updated(self, revision, do_svn_update=True): | 190 def package_if_updated(self, revision, do_update=True): |
191 if self.do_stop: | 191 if self.do_stop: |
192 writefile(self.instructions_file, "stop") | 192 writefile(self.instructions_file, "stop") |
193 if self.do_package: | 193 if self.do_package: |
194 return StoppingPackager(self, 1, 0) | 194 return StoppingPackager(self, 1, 0) |
195 else: | 195 else: |