view python/hg-tricks.py @ 311:a25eb7e42889

new stub
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 17 May 2013 03:13:11 -0700
parents
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