Mercurial > hg > config
view python/hg-tricks.py @ 387:0aee0da6b06b
even more success
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 26 Jul 2013 16:20:22 -0700 |
parents | a25eb7e42889 |
children | 11ac996b9c49 |
line wrap: on
line source
# check status / # check for outstanding changes output = self._call(['st']).strip() lines = [line for line in output.splitlines() if not line.startswith('?')] if lines: print "Outstanding changes:" print output raise AssertionError