(src_root)
return b'commit: (clean)' not in out
Check whether there are uncommitted changes in hg
Check whether there are uncommitted changes in hg
Check whether there are uncommitted changes in hg
def hg_have_dirty_index(src_root):
    '''Check whether there are uncommitted changes in hg'''
    out = subprocess.check_output(['hg', '-R', src_root, 'summary'])
    return b'commit: (clean)' not in out
def hg_have_dirty_index ( src_root ) : out = subprocess . check_output ( [ 'hg' , '-R' , src_root , 'summary' ] ) return b'commit: (clean)' not in out