Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: tools/auto_bisect/source_control.py

Issue 468633005: Quick spelling clean-up in the auto-bisect code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/auto_bisect/math_utils.py ('k') | tools/bisect-perf-regression.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/auto_bisect/source_control.py
diff --git a/tools/auto_bisect/source_control.py b/tools/auto_bisect/source_control.py
index 66b7e73b35c232fb81e0c79d93df754f317ad05f..ea6bde8bafb0338773489371a3ecdf101154cfcc 100644
--- a/tools/auto_bisect/source_control.py
+++ b/tools/auto_bisect/source_control.py
@@ -36,10 +36,10 @@ class SourceControl(object):
def SyncToRevisionWithGClient(self, revision):
"""Uses gclient to sync to the specified revision.
- ie. gclient sync --revision <revision>
+ This is like running gclient sync --revision <revision>.
Args:
- revision: The git SHA1 or svn CL (depending on workflow).
+ revision: A git SHA1 hash or SVN revision number (depending on workflow).
Returns:
The return code of the call.
@@ -48,11 +48,11 @@ class SourceControl(object):
'--delete_unversioned_trees', '--nohooks', '--revision', revision])
def SyncToRevisionWithRepo(self, timestamp):
- """Uses repo to sync all the underlying git depots to the specified
- time.
+ """Uses the repo command to sync all the underlying git depots to the
+ specified time.
Args:
- timestamp: The unix timestamp to sync to.
+ timestamp: The Unix timestamp to sync to.
Returns:
The return code of the call.
@@ -227,6 +227,7 @@ class GitSourceControl(SourceControl):
Args:
revision: Revision you want to gather information on.
+
Returns:
A dict in the following format:
{
@@ -259,7 +260,7 @@ class GitSourceControl(SourceControl):
['checkout', revision, file_name], cwd=cwd)[1]
def RevertFileToHead(self, file_name):
- """Unstages a file and returns it to HEAD.
+ """Un-stages a file and resets the file's state to HEAD.
Returns:
True if successful.
« no previous file with comments | « tools/auto_bisect/math_utils.py ('k') | tools/bisect-perf-regression.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698