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

Fwd: Schema for output of "svn status --xml"?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Wed, 13 Feb 2008 17:44:17 +0100

Forwarding an RNG 'svn status' schema bugreport from users@:

---------- Forwarded message ----------
From: Daniel Mescheder <ilations_at_danielmescheder.de>
Date: Feb 13, 2008 5:29 PM
Subject: Re: Schema for output of "svn status --xml"?
To: users_at_subversion.tigris.org

jeremy hinds wrote on Friday 08 February 2008:
> RELAX NG schemas ship with the subversion source at
> subversion-1.4.6/subversion/svn/schema/ . I've never used any of
> them, but there are conversion tools listed at relaxng.org if you need
> a DTD or something like that instead.

Hi again,

I just wanted to add, that the schema file at
subversion-1.4.6/subversion/svn/schema/status.rnc is incomplete.
At least there is no entry for the item status "missing".

Corresponding file line 30:
 attribute item {
   "added" | "conflicted" | "deleted" | "ignored" | "modified" | "replaced"
   | "external" | "unversioned" | "incomplete" | "obstructed" | "normal"
   | "none"
 }

Expected:
 attribute item {
   "added" | "conflicted" | "deleted" | "ignored" | "modified" | "missing"
   | "replaced" | "external" | "unversioned" | "incomplete" | "obstructed"
   | "normal" | "none"
 }

The "missing" attribute is really used:

Reproduce:
/tmp $ mkdir wc
/tmp $ svn co svn://localhost/ wc
A wc/foo
Checked out revision 8990.
/tmp $ cd wc
$ svn stat --xml -v
[...]
<entry
  path="foo">
<wc-status
  props="none"
  item="normal"
  revision="8990">
<commit
  revision="3161">
<date>2008-02-09T10:48:12.821569Z</date>
</commit>
</wc-status>
</entry>
[...]
/tmp/wc $ rm -rf foo
/tmp/wc $ svn stat --xml -v
[...]
<entry
  path="foo">
<wc-status
  props="none"
  item="missing"
  revision="-1">
</wc-status>
</entry>
[...]

Best regards,
Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-02-13 17:44:32 CET

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