Changeset 739 in tailor


Ignore:
Timestamp:
09/02/05 09:18:05 (8 years ago)
Author:
lele@…
Hash name:
20050902071805-97f81-41284bc1e15666489228d76ec8dd5f176eb9b42c
Message:

Raise an error when no changesets are applied bootstrapping a svndump tree

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/svndump.py

    r732 r739  
    231231            self._applyChangeset(cs) 
    232232            last = cs 
     233 
     234        if last is None: 
     235            raise TargetInitializationFailure( 
     236                "Couldn't initialize the source working copy at %s, " 
     237                "no changesets found" % revision) 
     238 
     239        self.log_info("Working copy up to svndump revision %s" % last.revision) 
    233240        return last 
    234241 
Note: See TracChangeset for help on using the changeset viewer.