def IsSubmoduleMergeCommit(ref):
    pattern = '^SVN changes up to revision [0-9]*$'
    cmd = ['rev-list', '--merges', ('--grep=%s' % pattern), ('%s^!' % ref)]
    return (RunGit(cmd) != '')
def IsSubmoduleMergeCommit(ref):
    pattern = '^SVN changes up to revision [0-9]*$'
    cmd = ['rev-list', '--merges', ('--grep=%s' % pattern), ('%s^!' % ref)]
    return (RunGit(cmd) != )