blob: 7d7d0552b52b69fc03338560252b9694d1236444 [file] [log] [blame]
# -*- coding: utf-8 -*-
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Hook to stop people from running `git cl`."""
from __future__ import print_function
import sys
def CheckChangeOnUpload(_input_api, _output_api):
print('ERROR: CrOS repos use `repo upload`, not `git cl upload`.',