lsst.sconsUtils  13.0-17-ga389a9f
Functions
lsst.sconsUtils.vcs.svn Namespace Reference

Functions

def isSvnFile (file)
 
def getInfo (file=".")
 
def isTrunk (file=".")
 
def revision (file=None, lastChanged=False)
 
def guessVersionName (HeadURL)
 
def parseVersionName (versionName)
 

Function Documentation

◆ getInfo()

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().

◆ guessVersionName()

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

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

◆ isSvnFile()

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

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

◆ isTrunk()

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

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

◆ parseVersionName()

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

◆ revision()

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().