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
26 info = element info { entry* }
30 attlist.entry, url?, relative-url?, repository?, wc-info?,
31 commit?, conflict?, lock?, tree-conflict?
35 attribute path { string },
37 attribute kind { "file" | "dir" },
38 ## Revision number of path/URL.
39 attribute revision { revnum.type }
41 ## URL of this item in the repository.
42 url = element url { xsd:anyURI }
44 ## Repository relative URL (^/...) of this item in the repository.
45 relative-url = element relative-url { string }
47 ## Information of this item's repository.
48 repository = element repository { root?, uuid? }
50 ## URL of the repository.
51 root = element root { xsd:anyURI }
53 ## UUID of the repository.
54 uuid = element uuid { uuid.type }
56 ## Info in the working copy entry.
72 wcroot-abspath = element wcroot-abspath { string }
75 element schedule { "normal" | "add" | "delete" | "replace" | "none" }
77 ## The name of the changelist that the path may be a member of.
78 changelist = element changelist { string }
80 copy-from-url = element copy-from-url { xsd:anyURI }
82 copy-from-rev = element copy-from-rev { revnum.type }
84 # Date when text was last updated.
85 text-updated = element text-updated { xsd:dateTime }
87 # Date when properties were last updated.
88 prop-updated = element prop-updated { xsd:dateTime }
90 checksum = element checksum { md5sum.type }
92 moved-from = element moved-from { string }
94 moved-to = element moved-to { string }
104 ## Previous base file.
105 prev-base-file = element prev-base-file { string }
108 prev-wc-file = element prev-wc-file { string }
110 ## Current base file.
111 cur-base-file = element cur-base-file { string }
113 ## Current properties file.
114 prop-file = element prop-file { string }
116 ## Depth of this directory, always "infinity" for non-directories
117 depth = element depth { "infinity" | "immediates" | "files" | "empty" }
120 element tree-conflict { attlist.tree-conflict }
122 attlist.tree-conflict &=
123 ## Local path to the original victim.
124 attribute victim { string },
126 attribute kind { "file" | "dir" },
127 ## Operation causing the tree conflict.
128 attribute operation { "update" | "merge" | "switch" },
129 ## Operation's action on the victim.
130 attribute action { "edit" | "add" | "delete" | "replace" },
131 ## Local reason for the conflict.
132 attribute reason { "edit" | "obstruction" | "delete" | "add" |
133 "missing" | "unversioned" | "replace" |
134 "moved-away" | "moved-here" }