SConstruct (11450:98e5204d0a52) SConstruct (11469:015cad6e65d5)
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
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 hg commit and qrefresh commands. This
269script will now install the hook in your %s.
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
270Press enter to continue, or ctrl-c to abort: """
271
272mercurial_style_message = style_message % ".hg/hgrc file"
273git_style_message = style_message % ".git/hooks/ directory"
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")
274
275mercurial_style_upgrade_message = """
276Your Mercurial style hooks are not up-to-date. This script will now
277try to automatically update them. A backup of your hgrc will be saved
278in .hg/hgrc.old.
279Press enter to continue, or ctrl-c to abort: """
280
281mercurial_style_hook = """

--- 1247 unchanged lines hidden ---
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 ---