| Index: git_cl.py
|
| diff --git a/git_cl.py b/git_cl.py
|
| index 72770a145e4194197b910b7c0eb7db5cb2469e08..7cce660fc2d502fa44a683f7882f98b1002ba537 100755
|
| --- a/git_cl.py
|
| +++ b/git_cl.py
|
| @@ -7,7 +7,6 @@
|
|
|
| """A git-command for integrating reviews on Rietveld."""
|
|
|
| -import datetime
|
| from distutils.version import LooseVersion
|
| import glob
|
| import json
|
| @@ -19,7 +18,6 @@ import re
|
| import stat
|
| import sys
|
| import textwrap
|
| -import time
|
| import threading
|
| import urllib2
|
| import urlparse
|
| @@ -2071,27 +2069,6 @@ def CMDland(parser, args):
|
| return SendUpstream(parser, args, 'push')
|
|
|
|
|
| -@subcommand.usage('[upstream branch to apply against]')
|
| -def CMDpush(parser, args):
|
| - """Temporary alias for 'land'.
|
| - """
|
| - print(
|
| - "\n=======\n"
|
| - "'git cl push' has been renamed to 'git cl land'.\n"
|
| - "Currently they are treated as synonyms, but 'git cl push' will stop\n"
|
| - "working after 2014/07/01.\n"
|
| - "=======\n")
|
| - now = datetime.datetime.utcfromtimestamp(time.time())
|
| - if now > datetime.datetime(2014, 7, 1):
|
| - print('******\nReally, you should not use this command anymore... \n'
|
| - 'Pausing 10 sec to help you remember :-)')
|
| - for n in xrange(10):
|
| - time.sleep(1)
|
| - print('%s seconds...' % (n+1))
|
| - print('******')
|
| - return CMDland(parser, args)
|
| -
|
| -
|
| @subcommand.usage('<patch url or issue id>')
|
| def CMDpatch(parser, args):
|
| """Patches in a code review."""
|
|
|