[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn status -u --xml

From: Peter Lundblad <plundblad_at_google.com>
Date: 2007-02-13 09:04:15 CET

Daniel Rall writes:
> 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":
>

There's no different between with and without --xml regarding info.
It treats "not a working copy" as an error instead of as a warning as
status does. I think there's still an old issue regarding our
inconsistency regarding this

We need to distinguish between the case where we emit a warning and continue
and the case were we bail. I think it makes sense to output well-formed
and valid XML in the former case. In the latter case it is going to be
more tricky since an error can happen anywhere.

A way to know if a directory is a working copy would be to just run
svn info on it, disregarding the output. If stderr is empty, you can be sure
it is a working copy.

Thanks,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 13 09:04:46 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.