1 # Copyright (C) 2005-2007 Jelmer Vernooij <jelmer@samba.org>
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 3 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <http://www.gnu.org/licenses/>.
16 def is_valid_property_name(prop):
17 if not prop[0].isalnum() and not prop[0] in ":_":
20 if not c.isalnum() and not c in "-:._":
24 PROP_EXECUTABLE = 'svn:executable'
25 PROP_EXECUTABLE_VALUE = '*'
26 PROP_EXTERNALS = 'svn:externals'
27 PROP_IGNORE = 'svn:ignore'
28 PROP_KEYWORDS = 'svn:keywords'
29 PROP_MIME_TYPE = 'svn:mime-type'
30 PROP_NEEDS_LOCK = 'svn:needs-lock'
31 PROP_NEEDS_LOCK_VALUE = '*'
33 PROP_SPECIAL = 'svn:special'
34 PROP_SPECIAL_VALUE = '*'
35 PROP_WC_PREFIX = 'svn:wc:'
36 PROP_ENTRY_COMMITTED_DATE = 'svn:entry:committed-date'
37 PROP_ENTRY_COMMITTED_REV = 'svn:entry:committed-rev'
38 PROP_ENTRY_LAST_AUTHOR = 'svn:entry:last-author'
39 PROP_ENTRY_LOCK_TOKEN = 'svn:entry:lock-token'
40 PROP_ENTRY_UUID = 'svn:entry:uuid'
42 PROP_REVISION_LOG = "svn:log"
43 PROP_REVISION_AUTHOR = "svn:author"
44 PROP_REVISION_DATE = "svn:date"