Commit 4aa47816 authored by thestig@chromium.org's avatar thestig@chromium.org

gcl.py cleanup

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/552139

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@37053 0039d316-1c4b-4281-b951-d872f2087c98
parent 638044da
......@@ -29,9 +29,7 @@ __version__ = '1.1.3'
CODEREVIEW_SETTINGS = {
# Default values.
"CODE_REVIEW_SERVER": "codereview.chromium.org",
"CC_LIST": "chromium-reviews@googlegroups.com",
"VIEW_VC": "http://src.chromium.org/viewvc/chrome?view=rev&revision=",
"CODE_REVIEW_SERVER": "codereview.appspot.com",
}
# globals that store the root of the current repository and the directory where
......@@ -1102,13 +1100,6 @@ def main(argv=None):
os.mkdir(GetInfoDir())
if not os.path.exists(GetChangesDir()):
os.mkdir(GetChangesDir())
# For smooth upgrade support, move the files in GetInfoDir() to
# GetChangesDir().
# TODO(maruel): Remove this code in August 2009.
for filename in os.listdir(unicode(GetInfoDir())):
file_path = os.path.join(unicode(GetInfoDir()), filename)
if os.path.isfile(file_path) and filename != CODEREVIEW_SETTINGS_FILE:
shutil.move(file_path, GetChangesDir())
if not os.path.exists(GetCacheDir()):
os.mkdir(GetCacheDir())
except gclient_utils.Error:
......
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