'return (collective) Status object for this file.'

def status(self, updates=0, rec=0, externals=0):

    if externals:
        raise ValueError('XXX    cannot    perform    status()    on    external    items    yet')
    else:
        externals = ''
    if rec:
        rec = ''
    else:
        rec = '--non-recursive'
    if updates:
        updates = '-u'
    else:
        updates = ''
    try:
        cmd = ('status    -v    --xml    --no-ignore    %s    %s    %s' % (updates, rec, externals))
        out = self._authsvn(cmd)
    except py.process.cmdexec.Error:
        cmd = ('status    -v    --no-ignore    %s    %s    %s' % (updates, rec, externals))
        out = self._authsvn(cmd)
        rootstatus = WCStatus(self).fromstring(out, self)
    else:
        rootstatus = XMLWCStatus(self).fromstring(out, self)
    return rootstatus
