Changeset 1191 in tailor


Ignore:
Timestamp:
06/25/06 21:13:45 (7 years ago)
Author:
lele@…
Hash name:
20060625191345-97f81-63f4040dea67f9d7794ea604299b0f3f75209226
Message:

Use "_editXXX" instead of "_recordUpdatedXXX" for consistency

Location:
vcpx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vcpx/target.py

    r1180 r1191  
    296296                    ChangesetEntry.DELETED: self._removeEntries, 
    297297                    ChangesetEntry.RENAMED: self._renameEntries, 
    298                     ChangesetEntry.UPDATED: self._recordUpdatedEntries 
     298                    ChangesetEntry.UPDATED: self._editEntries 
    299299                    } 
    300300 
     
    409409        raise "%s should override this method" % self.__class__ 
    410410 
    411     def _recordUpdatedEntries(self, entries): 
     411    def _editEntries(self, entries): 
    412412        """ 
    413413        Records a sequence of entries as updated. 
    414414        """ 
    415415 
    416         self._recordUpdatedPathnames([e.name for e in entries]) 
    417  
    418     def _recordUpdatedPathnames(self, names): 
     416        self._editPathnames([e.name for e in entries]) 
     417 
     418    def _editPathnames(self, names): 
    419419        """ 
    420420        Records a sequence of filesystem objects as updated. 
  • vcpx/repository/git.py

    r1189 r1191  
    190190            self._tryCommand(['update-index', '--add'] + notdirs) 
    191191 
    192     def _recordUpdatedPathnames(self, names): 
     192    def _editPathnames(self, names): 
    193193        """ 
    194194        Records a sequence of filesystem objects as updated. 
Note: See TracChangeset for help on using the changeset viewer.