Logo Search packages:      
Sourcecode: tailor version File versions  Download package

def vcpx::target::SyncronizableTargetWorkingDir::_adaptEntries (   self,
  changeset 
) [private]

Do whatever is needed to adapt entries to the target system.

This implementation adds a prefix to each path if needed, when
the target basedir *contains* the source basedir. Also, each
path is normalized thru ``normpath()`` or whatever equivalent
operation provided by the specific target. It operates on and
returns a copy of the given changeset.

Subclasses shall eventually extend this to exclude unwanted
entries, eventually returning None when all entries were
excluded, to avoid the commit on target of an empty changeset.

Definition at line 197 of file target.py.

00197                                       :
        """
        Do whatever is needed to adapt entries to the target system.

        This implementation adds a prefix to each path if needed, when
        the target basedir *contains* the source basedir. Also, each
        path is normalized thru ``normpath()`` or whatever equivalent
        operation provided by the specific target. It operates on and
        returns a copy of the given changeset.

        Subclasses shall eventually extend this to exclude unwanted
        entries, eventually returning None when all entries were
        excluded, to avoid the commit on target of an empty changeset.
        """

        adapted = self.__adaptEntriesPath(changeset)
        return adapted

    def _adaptChangeset(self, changeset):


Generated by  Doxygen 1.6.0   Back to index