Commit 7b8d18f0 authored by jam@chromium.org's avatar jam@chromium.org

Revert 77909 - msysgit - Fix issue where gcl doesn't recognize the editor.

gcl is now fully compatible with msysgit.

BUG=70550
TEST=gcl change through msysgit.

Review URL: http://codereview.chromium.org/6689001

TBR=mhm@chromium.org
Review URL: http://codereview.chromium.org/6679026

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@77929 0039d316-1c4b-4281-b951-d872f2087c98
parent 93efa031
......@@ -1063,12 +1063,10 @@ def CMDchange(args):
os.write(handle, text)
os.close(handle)
result = None
try:
if not silent:
subprocess.check_call(['env', GetEditor(), filename], shell=True)
os.system(GetEditor() + " " + filename)
result = gclient_utils.FileRead(filename, 'r')
finally:
os.remove(filename)
if not result:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment