Hmm, but not *which* path, if you list several, some of which are
under VC, some of which are not. The behavior for non --xml mode is
"stop and error out as soon as you hit a path not under VC":
[dlr@localhost svn-1.4.x]$ svn info /tmp/ .
subversion/libsvn_wc/lock.c:856: (apr_err=155007)
svn: '/tmp' is not a working copy
[dlr@localhost svn-1.4.x]$ svn info . /tmp/
Path: .
URL: https://svn.collab.net/repos/svn/branches/1.4.x
Repository Root: https://svn.collab.net/repos/svn
Repository UUID: 65390229-12b7-0310-b90b-f21a5aa7ec8e
Revision: 23379
Node Kind: directory
Schedule: normal
Last Changed Author: nori
Last Changed Rev: 23320
Last Changed Date: 2007-02-01 05:00:51 -0800 (Thu, 01 Feb 2007)
subversion/libsvn_wc/lock.c:856: (apr_err=155007)
svn: '/tmp' is not a working copy
On Mon, 12 Feb 2007, Daniel Rall wrote:
> Any output on stderr would tell you a path is not under version
> control.
>
> On Mon, 12 Feb 2007, Jason Pyeron wrote:
>
> > Unless you need a way to determine that it is not under svn control?
> ...
> > -----Original Message-----
> > From: Daniel Rall [mailto:dlr@collab.net]
> > Sent: Monday, February 12, 2007 13:12
> > To: Jason Pyeron
> > Cc: dev@subversion.tigris.org
> > Subject: Re: svn status -u --xml
> >
> > On Mon, 12 Feb 2007, Jason Pyeron wrote:
> >
> > >
> > > Option #2 is much better for XML since it is "proper" as an empty document
> > > is not valid XML as it must always have a root node.
> >
> > Yup -- why I listed it. However, given that it's an error condition
> > to call 'status --xml' or 'info --xml' on a local path which is not a
> > WC, I hesitate to suggest that we attempt to produce meaningful output
> > as well as error output. Rather, "don't do that".
- application/pgp-signature attachment: stored
Received on Mon Feb 12 22:20:11 2007