Lines Matching refs:revision
54 """Get the sdk_tools bundle revision.
56 build_updater uses to specify the current revision of sdk_tools."""
62 return manifest.GetBundle('sdk_tools').revision
90 def _BuildUpdater(self, out_dir, revision=None):
93 if revision:
94 cmd.extend(['-r', str(revision)])
100 def _BuildUpdaterArchive(self, rel_path, revision):
105 revision: The revision number to give to this bundle.
110 self._BuildUpdater(os.path.join(self.basedir, rel_path), revision)
186 """Test that running naclsdk with current revision does nothing."""
188 revision = self._RunAndExtractRevision()
189 self.assertEqual(revision, self.current_revision)
192 """Test that running naclsdk with a new revision will auto-update."""
197 self.sdk_tools_bundle.revision = new_revision
200 revision = self._RunAndExtractRevision()
201 self.assertEqual(revision, new_revision)
214 self.sdk_tools_bundle.revision = new_revision