1# -*- mode:python -*- 2 3# Copyright (c) 2013, 2015, 2016 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 251 unchanged lines hidden (view full) --- 260######################################################################## 261 262hgdir = main.root.Dir(".hg") 263gitdir = main.root.Dir(".git") 264 265 266style_message = """ 267You're missing the gem5 style hook, which automatically checks your code |
268against the gem5 style rules on %s. 269This script will now install the hook in your %s. |
270Press enter to continue, or ctrl-c to abort: """ 271 |
272mercurial_style_message = style_message % ("hg commit and qrefresh commands", 273 ".hg/hgrc file") 274git_style_message = style_message % ("'git commit'", 275 ".git/hooks/ directory") |
276 277mercurial_style_upgrade_message = """ 278Your Mercurial style hooks are not up-to-date. This script will now 279try to automatically update them. A backup of your hgrc will be saved 280in .hg/hgrc.old. 281Press enter to continue, or ctrl-c to abort: """ 282 283mercurial_style_hook = """ --- 1247 unchanged lines hidden --- |