| Index: git_freezer.py
|
| diff --git a/git_freezer.py b/git_freezer.py
|
| index 6e28b3e342b066f582fd46c48153f90a8038ebf9..075ebd65e3ff1ac0aeef8b6e91c4fcf45ab0a69f 100755
|
| --- a/git_freezer.py
|
| +++ b/git_freezer.py
|
| @@ -1,4 +1,8 @@
|
| #!/usr/local/bin/python
|
| +# 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.
|
| +
|
| import sys
|
| import re
|
| import optparse
|
| @@ -6,7 +10,7 @@ import optparse
|
| import subcommand
|
| import subprocess2
|
|
|
| -from git_common import run, stream
|
| +from git_common import run, run_stream
|
|
|
| FREEZE = 'FREEZE'
|
| SECTIONS = {
|
| @@ -38,7 +42,7 @@ def freeze():
|
|
|
| def thaw():
|
| took_action = False
|
| - for sha in (s.strip() for s in stream('rev-list', 'HEAD').xreadlines()):
|
| + for sha in (s.strip() for s in run_stream('rev-list', 'HEAD').xreadlines()):
|
| msg = run('show', '--format=%f%b', '-s', 'HEAD')
|
| match = MATCHER.match(msg)
|
| if not match:
|
|
|