annotate python/hg-tricks.py @ 360:d0da972238d0
adding program to setup X
author |
Jeff Hammel <jhammel@mozilla.com> |
date |
Tue, 02 Jul 2013 11:17:37 -0700 (2013-07-02) |
parents |
a25eb7e42889 |
children |
11ac996b9c49 |
rev |
line source |
311
|
1 # check status
|
|
2 / # check for outstanding changes
|
|
3 output = self._call(['st']).strip()
|
|
4 lines = [line for line in output.splitlines()
|
|
5 if not line.startswith('?')]
|
|
6 if lines:
|
|
7 print "Outstanding changes:"
|
|
8 print output
|
|
9 raise AssertionError
|