Home | History | Annotate | Download | only in util

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)
112 Fetch the Subversion URL and revision through Git.
117 A tuple containing the Subversion URL and revision.
124 # Extract the latest SVN revision and the SVN URL.
129 revision = match.group(2)
135 return url, revision
145 url, revision = FetchGitSVNURLAndRevision(directory, svn_url_regex)
146 if url and revision:
147 return VersionInfo(url, revision)
154 Returns the last change (in the form of a branch, revision tuple),
155 from some appropriate revision control system.
165 revision = open(default_lastchange, 'r').read().strip()
166 version_info = VersionInfo(None, revision)
189 revision. Note that the #define is specified as a string, even though it's
190 currently always a SVN revision number, in case we need to move to git hashes.
241 parser.add_option("--revision-only", action='store_true',
242 help="Just print the SVN revision number. Overrides any " +
266 if version_info.revision == None:
267 version_info.revision = '0'
270 print version_info.revision
272 contents = "LASTCHANGE=%s\n" % version_info.revision
281 version_info.revision))