Changeset 680 in tailor


Ignore:
Timestamp:
08/23/05 15:19:48 (8 years ago)
Author:
lele@…
Hash name:
20050823131948-97f81-665f659159d62610be40b547e8f24006b28d2374
Message:

New option 'tag-entries' on CVS/CVSPS repositories to disable the explicit tag

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vcpx/cvsps.py

    r671 r680  
    310310            self.log_info("Using existing %s" % self.basedir) 
    311311 
    312         self.__forceTagOnEachEntry() 
     312        if self.repository.tag_entries: 
     313            self.__forceTagOnEachEntry() 
    313314 
    314315        entries = CvsEntries(self.basedir) 
  • README

    r662 r680  
    464464changeset. 
    465465 
     466CVS and CVSPS repositories may turn of automatic tagging of entries, 
     467that tailor does by default to prevent manual interventions in the 
     468CVS working copy, using ``tag_entries = False``. 
     469 
    466470 
    467471Using a Python script as configuration file 
  • vcpx/repository.py

    r664 r680  
    149149        Repository._load(self, config, which) 
    150150        self.CVS_CMD = config.get(self.name, 'cvs-command', self.CVS_CMD) 
     151        self.tag_entries = config.get(self.name, 'tag-entries', True) 
    151152 
    152153    def _validateConfiguration(self): 
     
    154155        from config import ConfigurationError 
    155156 
    156  
    157157        if not self.module and self.repository: 
    158158            self.module = split(self.repository)[1] 
     
    167167        CvsRepository._load(self, config, which) 
    168168        self.CVSPS_CMD = config.get(self.name, 'cvsps-command', self.CVSPS_CMD) 
     169        self.tag_entries = config.get(self.name, 'tag-entries', True) 
    169170 
    170171 
Note: See TracChangeset for help on using the changeset viewer.