'commit with support for non-recursive commits'

def commit(self, msg='', rec=1):

    cmd = ('commit    -m    "%s"    --force-log' % (msg.replace('"', '\\"'),))
    if (not rec):
        cmd += '    -N'
    out = self._authsvn(cmd)
    try:
        del cache.info[self]
    except KeyError:
        pass
    if out:
        m = self._rex_commit.match(out)
        return int(m.group(1))
