Lines Matching refs:revision
7 lastchange.py -- Chromium revision fetching utility.
19 def __init__(self, url, revision):
21 self.revision = revision
26 Fetch the Subversion branch and revision for a given directory.
59 revision = attrs['Revision']
63 return VersionInfo(url, revision)
125 Fetch the Subversion URL and revision through Git.
130 A tuple containing the Subversion URL and revision.
136 # Extract the latest SVN revision and the SVN URL.
141 revision = match.group(2)
147 return url, revision
157 url, revision = FetchGitSVNURLAndRevision(directory, svn_url_regex)
158 if url and revision:
159 return VersionInfo(url, revision)
166 Returns the last change (in the form of a branch, revision tuple),
167 from some appropriate revision control system.
177 revision = open(default_lastchange, 'r').read().strip()
178 version_info = VersionInfo(None, revision)
201 revision. Note that the #define is specified as a string, even though it's
202 currently always a SVN revision number, in case we need to move to git hashes.
253 parser.add_option("--revision-only", action='store_true',
254 help="Just print the SVN revision number. Overrides any " +
278 if version_info.revision == None:
279 version_info.revision = '0'
282 print version_info.revision
284 contents = "LASTCHANGE=%s\n" % version_info.revision
293 version_info.revision))