1 # Licensed to the Apache Software Foundation (ASF) under one
2 # or more contributor license agreements. See the NOTICE file
3 # distributed with this work for additional information
4 # regarding copyright ownership. The ASF licenses this file
5 # to you under the Apache License, Version 2.0 (the
6 # "License"); you may not use this file except in compliance
7 # with the License. You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing,
12 # software distributed under the License is distributed on an
13 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14 # KIND, either express or implied. See the License for the
15 # specific language governing permissions and limitations
19 # XML RELAX NG schema for Subversion command-line client output
22 # The DTD compatibility annotations namespace, used for adding default
24 namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
30 status = element status { (target | changelist)* }
32 target = element target { attlist.target, entry*, against? }
35 attribute path { string }
37 changelist = element changelist { attlist.changelist, entry*, against? }
39 ## The changelist name.
40 attribute name { string }
42 ## Status information for a path under the target.
43 entry = element entry { attlist.entry, wc-status, repos-status? }
45 ## Path inside the target.
46 attribute path { text }
48 ## Status of the entry in the working copy.
49 wc-status = element wc-status { attlist.wc-status, commit?, lock? }
54 "added" | "conflicted" | "deleted" | "external" | "ignored" |
55 "incomplete" | "merged" | "missing" | "modified" | "none" |
56 "normal" | "obstructed" | "replaced" | "unversioned"
59 attribute props { "conflicted" | "modified" | "normal" | "none" },
60 ## Base revision number.
61 attribute revision { revnum.type }?,
62 ## WC directory locked.
63 [ a:defaultValue = "false" ]
64 attribute wc-locked { "true" | "false" }?,
66 [ a:defaultValue = "false" ]
67 attribute copied { "true" | "false" }?,
68 # Item switched relative to its parent.
69 [ a:defaultValue = "false" ]
70 attribute switched { "true" | "false" }?,
71 ## Tree-conflict status of the item.
72 [ a:defaultValue = "false" ]
73 attribute tree-conflicted { "true" | "false" }?,
74 ## If root of a move-here, the local path to the move source.
75 attribute moved-from { text }?,
76 ## If root of a move-away, the local path to the move destination.
77 attribute moved-to { text }?
79 ## Status in repository (if --update was specified).
80 repos-status = element repos-status { attlist.repos-status, lock? }
81 attlist.repos-status &=
82 ## Text/item status in the repository.
84 "added" | "deleted" | "modified" | "replaced" | "none"
86 ## Properties status in repository.
87 attribute props { "modified" | "none" }
89 against = element against { attlist.against, empty }
91 ## Revision number at which the repository information was obtained.
92 attribute revision { revnum.type }