comparison test/test_packager.py @ 190:e83db4482aab

Add runtreepkg.py command line option --no-svn-update to inhibit updates of the working copies. This can be useful if e.g. the svn server is down. Adapt the test cases.
author Bernhard Herzog <bh@intevation.de>
date Wed, 30 Jul 2008 19:00:31 +0000
parents e1c7cd896310
children 01c043f13f13
comparison
equal deleted inserted replaced
189:44efabf551e0 190:e83db4482aab
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): 190 def package_if_updated(self, revision, do_svn_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) 194 return StoppingPackager(self, 1)
195 else: 195 else:
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)