Delete gcl, drover, and trychange
These tools are relatively standalone, and only ever worked for SVN.
Removing these is a good start to removing other SVN support code.
R=maruel@chromium.org
BUG=475321
Review-Url: https://codereview.chromium.org/2269413002
diff --git a/gclient_utils.py b/gclient_utils.py
index a988b82..602322b 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -1056,7 +1056,7 @@
work_queue.ready_cond.release()
-def GetEditor(git, git_editor=None):
+def GetEditor(git_editor=None):
"""Returns the most plausible editor to use.
In order of preference:
@@ -1068,14 +1068,8 @@
In the case of git-cl, this matches git's behaviour, except that it does not
include dumb terminal detection.
-
- In the case of gcl, this matches svn's behaviour, except that it does not
- accept a command-line flag or check the editor-cmd configuration variable.
"""
- if git:
- editor = os.environ.get('GIT_EDITOR') or git_editor
- else:
- editor = os.environ.get('SVN_EDITOR')
+ editor = os.environ.get('GIT_EDITOR') or git_editor
if not editor:
editor = os.environ.get('VISUAL')
if not editor:
@@ -1105,7 +1099,7 @@
fileobj.close()
try:
- editor = GetEditor(git, git_editor=git_editor)
+ editor = GetEditor(git_editor=git_editor)
if not editor:
return None
cmd = '%s %s' % (editor, filename)