Better tooling

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299614 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
iannucci@chromium.org
2016-04-01 00:59:42 +00:00
parent 10379b88cb
commit eed06d620f
9 changed files with 42 additions and 29 deletions

View File

@@ -27,6 +27,7 @@ Branches are colorized as follows:
import argparse
import collections
import os
import sys
import subprocess2
@@ -271,7 +272,7 @@ class BranchMapper(object):
def main(argv):
colorama.init()
colorama.init(wrap="TERM" not in os.environ)
if get_git_version() < MIN_UPSTREAM_TRACK_GIT_VERSION:
print >> sys.stderr, (
'This tool will not show all tracking information for git version '