lsst.sconsUtils  13.0-7-gc601e82+2
 All Classes Namespaces Files Functions Variables Properties Groups
Functions
lsst.sconsUtils.vcs.svn Namespace Reference

Functions

def isSvnFile
 
def getInfo
 
def isTrunk
 
def revision
 
def guessVersionName
 
def parseVersionName
 

Function Documentation

def lsst.sconsUtils.vcs.svn.getInfo (   file = ".")
Return a dictionary of all the information returned by "svn info" for the specified file

References lsst.sconsUtils.vcs.svn.isSvnFile().

Referenced by lsst.sconsUtils.vcs.svn.isTrunk(), and lsst.sconsUtils.vcs.svn.revision().

def lsst.sconsUtils.vcs.svn.guessVersionName (   HeadURL)
Guess a version name given a HeadURL

References lsst.sconsUtils.vcs.svn.revision().

def lsst.sconsUtils.vcs.svn.isSvnFile (   file)
Is file under svn control?

Referenced by lsst.sconsUtils.vcs.svn.getInfo().

def lsst.sconsUtils.vcs.svn.isTrunk (   file = ".")
Is file on the trunk?

References lsst.sconsUtils.vcs.svn.getInfo().

def lsst.sconsUtils.vcs.svn.parseVersionName (   versionName)
A callback that knows about the LSST convention that a tagname such as
ticket_374
means the top of ticket 374, and
ticket_374+svn6021
means revision 6021 on ticket 374.  You may replace "ticket" with "branch" if you wish

The "versionName" may actually be the directory part of a URL, and ".../(branches|tags|tickets)/tagname"
is also supported
def lsst.sconsUtils.vcs.svn.revision (   file = None,
  lastChanged = False 
)
Return file's Revision as a string; if file is None return
a tuple (oldestRevision, youngestRevision, flags) as reported
by svnversion; e.g. (4123, 4168, ("M", "S")) (oldestRevision
and youngestRevision may be equal)

References lsst.sconsUtils.vcs.svn.getInfo().

Referenced by lsst.sconsUtils.vcs.svn.guessVersionName().