Add git thaw/freeze to depot_tools.

R=agable@chromium.org, hinoka@chromium.org, stip@chromium.org, szager@chromium.org
BUG=261738

Review URL: https://codereview.chromium.org/181043018

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@256778 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
iannucci@chromium.org
2014-03-13 07:55:15 +00:00
parent a112f03fcf
commit 97345ebf1a
6 changed files with 235 additions and 8 deletions

13
git-thaw Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# git_freezer.py thaw -- a git-command to reverse the effect of the 'git freeze'
# command. Any changes suspended on this branch with the freeze command will be
# restored to the state they were in immediately prior to running the freeze
# command.
SCRIPT=git_freezer.py
set -- thaw "$@"
. $(type -P python_git_runner.sh)