Changeset 454 in tailor


Ignore:
Timestamp:
07/30/05 03:04:37 (8 years ago)
Author:
lele@…
Hash name:
20050730010437-97f81-5cfd03d6e0f9650fca6cfcdbf77399a3f6e47c48
Message:

Renamed the arguments for clearity, second part

Location:
vcpx
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • vcpx/target.py

    r452 r454  
    351351        else: 
    352352            author = "%s@%s" % (AUTHOR, HOST) 
    353             remark = BOOTSTRAP_PATCHNAME % module 
     353            remark = BOOTSTRAP_PATCHNAME % source_module 
    354354            log = BOOTSTRAP_CHANGELOG % locals() 
    355355        self._commit(root, changeset.date, author, remark, log, 
    356356                     entries=[subdir]) 
    357357 
    358     def _initializeWorkingDir(self, root, repository, module, subdir): 
     358    def _initializeWorkingDir(self, root, source_repository, source_module, 
     359                              subdir): 
    359360        """ 
    360361        Assuming the ``root`` directory contains a working copy ``module`` 
  • vcpx/darcs.py

    r448 r454  
    391391                rename(oldname + '-TAILOR-HACKED-TEMP-NAME', oldname) 
    392392 
    393     def _initializeWorkingDir(self, root, repository, module, subdir): 
     393    def _initializeWorkingDir(self, root, source_repository, source_module, 
     394                              subdir): 
    394395        """ 
    395396        Execute ``darcs initialize`` and tweak the default settings of 
     
    409410 
    410411        motd = open(join(root, '_darcs/prefs/motd'), 'w') 
    411         motd.write(MOTD % (repository, module)) 
     412        motd.write(MOTD % (source_repository, source_module)) 
    412413        motd.close() 
    413414 
     
    427428 
    428429        SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 
    429                                                             repository, module, 
     430                                                            source_repository, 
     431                                                            source_module, 
    430432                                                            subdir) 
  • vcpx/svn.py

    r444 r454  
    389389            self._addPathnames(root, [newname]) 
    390390 
    391     def _initializeWorkingDir(self, root, repository, module, subdir): 
     391    def _initializeWorkingDir(self, root, source_repository, source_module, 
     392                              subdir): 
    392393        """ 
    393394        Add the given directory to an already existing svn working tree. 
     
    400401 
    401402        SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 
    402                                                             repository, module, 
     403                                                            source_repository, 
     404                                                            source_module, 
    403405                                                            subdir) 
  • vcpx/monotone.py

    r450 r454  
    9494        rename.execute(oldname, newname) 
    9595 
    96     def _initializeWorkingDir(self, root, repository, module, subdir): 
     96    def _initializeWorkingDir(self, root, source_repository, source_module, 
     97                              subdir): 
    9798        """ 
    9899        Setup the monotone working copy 
  • vcpx/cdv.py

    r447 r454  
    7070        ExternalCommand(cwd=root, command=cmd).execute(oldname, newname) 
    7171 
    72     def initializeNewWorkingDir(self, root, repository, module, subdir, 
    73                                 changeset, initial): 
     72    def initializeNewWorkingDir(self, root, source_repository, source_module, 
     73                                subdir, changeset, initial): 
    7474        """ 
    7575        Initialize a new working directory, just extracted from 
     
    8080             BOOTSTRAP_CHANGELOG 
    8181 
    82         self._initializeWorkingDir(root, repository, module, subdir) 
     82        self._initializeWorkingDir(root, source_repository, source_module, 
     83                                   subdir) 
    8384        revision = changeset.revision 
    8485        if initial: 
     
    8889        else: 
    8990            author = "%s@%s" % (AUTHOR, HOST) 
    90             remark = BOOTSTRAP_PATCHNAME % module 
     91            remark = BOOTSTRAP_PATCHNAME % source_module 
    9192            log = BOOTSTRAP_CHANGELOG % locals() 
    9293        self._commit(root, changeset.date, author, remark, log, 
    9394                     entries=[subdir, '%s/...' % subdir]) 
    9495 
    95     def _initializeWorkingDir(self, root, repository, module, subdir): 
     96    def _initializeWorkingDir(self, root, source_repository, source_module, 
     97                              subdir): 
    9698        """ 
    9799        Execute ``cdv init``. 
     
    113115 
    114116        SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 
    115                                                             repository, module, 
     117                                                            source_repository, 
     118                                                            source_module, 
    116119                                                            subdir) 
  • vcpx/bzr.py

    r437 r454  
    7070        ExternalCommand(cwd=root, command=cmd).execute(old, new) 
    7171 
    72     def initializeNewWorkingDir(self, root, repository, module, subdir, 
    73                                 changeset, initial): 
     72    def initializeNewWorkingDir(self, root, source_repository, 
     73                                source_module, subdir, changeset, initial): 
    7474        """ 
    7575        Initialize a new working directory, just extracted from 
     
    8080             BOOTSTRAP_CHANGELOG 
    8181 
    82         self._initializeWorkingDir(root, repository, module, subdir) 
     82        self._initializeWorkingDir(root, source_repository, source_module, 
     83                                   subdir) 
    8384        revision = changeset.revision 
    8485        if initial: 
     
    8889        else: 
    8990            author = "%s@%s" % (AUTHOR, HOST) 
    90             remark = BOOTSTRAP_PATCHNAME % module 
     91            remark = BOOTSTRAP_PATCHNAME % source_module 
    9192            log = BOOTSTRAP_CHANGELOG % locals() 
    9293        self._commit(root, changeset.date, author, remark, log, 
    9394                     entries=[subdir, '%s/...' % subdir]) 
    9495 
    95     def _initializeWorkingDir(self, root, repository, module, subdir): 
     96    def _initializeWorkingDir(self, root, source_repository, source_module, 
     97                              subdir): 
    9698        """ 
    9799        Execute ``bzr init``. 
     
    119121 
    120122        SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 
    121                                                             repository, module, 
     123                                                            source_repository, 
     124                                                            source_module, 
    122125                                                            subdir) 
  • vcpx/hg.py

    r449 r454  
    109109            copy.execute(oldname, newname) 
    110110 
    111     def _initializeWorkingDir(self, root, repository, module, subdir): 
     111    def _initializeWorkingDir(self, root, source_repository, source_module, 
     112                              subdir): 
    112113        """ 
    113114        Execute ``hg init``. 
Note: See TracChangeset for help on using the changeset viewer.