Changeset 89
- Timestamp:
- 2009年05月13日 22时39分44秒 (3 years ago)
- Location:
- branches/0.2-pylons_0.9.6.2
- Files:
-
- 6 modified
- 3 copied
-
. (modified) (1 prop)
-
contrib/subversion (copied) (copied from trunk/contrib/subversion)
-
contrib/subversion/30060_fnmatch_section_name.patch (copied) (copied from trunk/contrib/subversion/30060_fnmatch_section_name.patch)
-
pySvnManager.egg-info (modified) (1 prop)
-
pySvnManager.egg-info/SOURCES.txt (modified) (2 diffs)
-
pysvnmanager (modified) (1 prop)
-
pysvnmanager/model/my_fnmatch.py (copied) (copied from trunk/pysvnmanager/model/my_fnmatch.py)
-
pysvnmanager/model/rcsbackup.py (modified) (2 diffs)
-
pysvnmanager/model/svnauthz.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/0.2-pylons_0.9.6.2
- Property svn:mergeinfo changed from /trunk:53-81 to /trunk:53-81,84-88
-
branches/0.2-pylons_0.9.6.2/pySvnManager.egg-info
- Property svn:mergeinfo set to /trunk/pySvnManager.egg-info:84-88
-
branches/0.2-pylons_0.9.6.2/pySvnManager.egg-info/SOURCES.txt
r83 r89 9 9 config/README 10 10 contrib/mantis/021_checkin_user_as_bug_submit_user.patch 11 contrib/subversion/30060_fnmatch_section_name.patch 11 12 contrib/trac/10110_trac_svn_hooks_chgset_date.patch 12 13 contrib/trac/10115_trac_svn_hooks_ticket_range.patch … … 130 131 pysvnmanager/model/configobj.py 131 132 pysvnmanager/model/hooks.py 133 pysvnmanager/model/my_fnmatch.py 132 134 pysvnmanager/model/rcsbackup.py 133 135 pysvnmanager/model/repos.py -
branches/0.2-pylons_0.9.6.2/pysvnmanager
- Property svn:mergeinfo set to /trunk/pysvnmanager:84-88
-
branches/0.2-pylons_0.9.6.2/pysvnmanager/model/rcsbackup.py
r83 r89 69 69 {'cmd':CMD_CI, "file":wcfile, "msg":comment, "user":user}) 70 70 # -U : set locking to no-strict. 71 cmd.append('%(cmd)s -U - q "%(file)s"' % {'cmd':CMD_RCS, "file":wcfile})71 cmd.append('%(cmd)s -U -u -M -q "%(file)s"' % {'cmd':CMD_RCS, "file":wcfile}) 72 72 else: 73 73 # Warning: w/o -l or -u option, wcfile will be removed after checkin. 74 74 # -l makes wcfile writable; 75 75 # -u : wcfile is not writable unless rcsfile is set to no-strict locking. 76 cmd.append('%(cmd)s -q - l-m"%(msg)s" -w"%(user)s" "%(file)s" 2>&1' % \76 cmd.append('%(cmd)s -q -u -m"%(msg)s" -w"%(user)s" "%(file)s" 2>&1' % \ 77 77 {'cmd':CMD_CI, "file":wcfile, "msg":comment, "user":user}) 78 78 … … 85 85 else: 86 86 if buff: 87 os.system('%(cmd)s -U -u -M -q "%(file)s"' % {'cmd':CMD_RCS, "file":wcfile}) 87 88 raise Exception, "Error Message: %s\n" % buff 88 89 -
branches/0.2-pylons_0.9.6.2/pysvnmanager/model/svnauthz.py
r54 r89 28 28 import sys 29 29 import os 30 import my_fnmatch 30 31 import StringIO 31 32 import logging … … 1008 1009 1009 1010 for i in self.module_list: 1010 if i.path == path:1011 if i.path.lower() == path.lower(): 1011 1012 return i 1012 1013 i = Module(repos=self.name , path=path) … … 1031 1032 1032 1033 for i in self.module_list: 1033 if i.path == path:1034 if i.path.lower() == path.lower(): 1034 1035 return i 1036 # OSSXP hacked subversion supports wildcard characters as module path. 1037 for i in self.module_list: 1038 if '*' in i.path or '?' in i.path: 1039 if my_fnmatch.fnmatch(path, i.path): 1040 return i 1035 1041 return None 1036 1042 … … 1075 1081 1076 1082 for repos in self.repos_list: 1077 if repos.name == name:1083 if repos.name.lower() == name.lower(): 1078 1084 return repos 1079 1085 … … 1102 1108 1103 1109 repos = self.repos_list[idx] 1104 assert(repos.name == name)1110 assert(repos.name.lower() == name.lower()) 1105 1111 1106 1112 if recursive:
![(please configure the [header_logo] section in trac.ini)](/trac/pysvnmanager/chrome/common/trac_banner.png)