Changeset 369 in tailor for vcpx/session.py


Ignore:
Timestamp:
06/13/05 18:00:50 (8 years ago)
Author:
lele@…
Hash name:
20050613160050-97f81-a1b98f9f074f135efe6159315969c2c66dfbf422
Message:

Print a more specific error message on upstream failure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/session.py

    r368 r369  
    580580        from dualwd import DualWorkingDir 
    581581        from os.path import join, split 
     582        from source import GetUpstreamChangesetsFailure 
    582583 
    583584        if not self.state_file: 
     
    612613                                           self.source_module, 
    613614                                           self.source_revision) 
     615            except GetUpstreamChangesetsFailure, exc: 
     616                self.__err('Unable to collect upstream changes from %s: %s' % 
     617                           (self.source_repository, exc)) 
     618                return 
    614619            except KeyboardInterrupt: 
    615620                if self.logger: 
Note: See TracChangeset for help on using the changeset viewer.