Changeset 188 in tailor for vcpx/tailor.py
- Timestamp:
- 12/27/04 22:03:13 (8 years ago)
- Hash name:
- 20041227210313-97f81-9d067907aacf7f01b341fefbaf24c3a6a5521dd1
- File:
-
- 1 edited
-
vcpx/tailor.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/tailor.py
r187 r188 266 266 self.logger.info("getting %s revision '%s' of '%s' from '%s'" % ( 267 267 source_kind, revision, module, repository)) 268 actual = dwd.checkoutUpstreamRevision(self.root, repository, 269 module, revision, 270 subdir=subdir, 271 logger=self.logger) 272 268 269 try: 270 actual = dwd.checkoutUpstreamRevision(self.root, repository, 271 module, revision, 272 subdir=subdir, 273 logger=self.logger) 274 except: 275 self.logger.exception('Checkout failed!') 276 raise 277 273 278 # the above machinery checked out a copy under of the wc 274 279 # in the directory named as the last component of the module's name … … 276 281 if not subdir: 277 282 subdir = module 278 279 dwd.initializeNewWorkingDir(self.root, repository, subdir, actual) 280 283 284 try: 285 dwd.initializeNewWorkingDir(self.root, repository, subdir, actual) 286 except: 287 self.logger.exception('Working copy initialization failed!') 288 raise 289 281 290 self.source_kind = source_kind 282 291 self.target_kind = target_kind … … 339 348 if self.verbose: 340 349 print "Applying %d upstream changesets" % nchanges 350 351 try: 352 l,c = dwd.applyUpstreamChangesets(proj, changesets, 353 applyable=self.applyable, 354 applied=self.applied, 355 logger=self.logger, 356 delayed_commit=single_commit) 357 except: 358 self.logger.exception('Upstream change application failed') 341 359 342 l,c = dwd.applyUpstreamChangesets(proj, changesets,343 applyable=self.applyable,344 applied=self.applied,345 logger=self.logger,346 delayed_commit=single_commit)347 360 if l: 348 361 if single_commit:
Note: See TracChangeset
for help on using the changeset viewer.
