Package svs_core :: Package dev :: Module devlib :: Class DevNode
[show private | hide private]
[frames | no frames]

Class DevNode


Represents a point in an SVS network where files are stored for development.
Method Summary
  __init__(self, name, sourceWriter, sourceReader, sourceComparator, sourceMerger)
  addEntry(self, source, devLineName, sourceParams)
Adds a new entry to the specified development line.
  branchDevelopmentLine(self, devLineName, branchName, tag, versionNum)
Creates a new development line derived from an existing one.
  createDevelopmentLine(self, devLineName)
Creates a new development line with specified name.
  getEntry(self, devLineName, tag, versionNum, sourceParams)
Returns a tuple containing both the data and source for an entry.
  getEntryData(self, devLineName, tag, versionNum)
Returns only the data for an entry.
  getEntrySource(self, devLineName, tag, versionNum, sourceParams)
Returns the source for an entry.
  tagEntry(self, tag, versionNum, devLineName)
Applies a tag to the version, ensuring it is not duplicated.

Method Details

addEntry(self, source, devLineName='/', sourceParams=None)

Adds a new entry to the specified development line. If no development line is specified, adds it to the root.

branchDevelopmentLine(self, devLineName, branchName, tag=None, versionNum=None)

Creates a new development line derived from an existing one.

createDevelopmentLine(self, devLineName)

Creates a new development line with specified name.

If the name already exists, raises a DevNodeException.

getEntry(self, devLineName='/', tag=None, versionNum=None, sourceParams=None)

Returns a tuple containing both the data and source for an entry.

getEntryData(self, devLineName='/', tag=None, versionNum=None)

Returns only the data for an entry.

getEntrySource(self, devLineName='/', tag=None, versionNum=None, sourceParams=None)

Returns the source for an entry.

tagEntry(self, tag, versionNum=None, devLineName='/')

Applies a tag to the version, ensuring it is not duplicated.

If versionNum is not defined, applies the tag to most recent version.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:30 2005 http://epydoc.sf.net