SConstruct: automatically update .hg/hgrc with style hooks
Review Request #668 - Created May 2, 2011 and submitted
| Information | |
|---|---|
| Steve Reinhardt | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
SConstruct: automatically update .hg/hgrc with style hooks Seems easier than pestering people about it. Note also that path is now absolute, so you don't get errors when invoking hg from subdirectories.
Posted (May 2, 2011, 5:51 a.m.)
-
SConstruct (Diff revision 1) -
I know you didn't change this, but should we check for both hooks? (I added the pre-qrefresh one a while ago)
-
SConstruct (Diff revision 1) -
Should we prompt the user for permission? That way the user would at least know that something happened.
Whether you decide to change this or not, it's a good idea.
Review request changed
Updated (June 1, 2011, 2:27 p.m.)
Diff: |
Revision 2 (+37 -22) |
|---|
Posted (June 1, 2011, 4:52 p.m.)
-
SConstruct (Diff revision 2) -
This is pretty reasonable, but it would be nice to mention that if it's not OK you can use Ctrl+C to get out of it. Usually Ctrl+C is a fairly drastic last resort, so people might not think to use it.
