Fix possible incompatibility between loginfo-handler script and
cvs 1.12.9. Based on bug report and patch from sourceforge user "grubert" in issue 151 * bin/loginfo-handler (HeuristicArgParse): accept alternate command lines for commits of new and imported directories git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1345 8cb11bc2-c004-0410-86c3-e597b4017df7remotes/authz-dev
parent
eb5ccaf906
commit
d9777eef27
|
@ -78,10 +78,12 @@ def HeuristicArgParse(s, repository):
|
||||||
directory name by choosing the longest possible directory name that actually
|
directory name by choosing the longest possible directory name that actually
|
||||||
exists in the repository"""
|
exists in the repository"""
|
||||||
|
|
||||||
if s[-16:] == ' - New directory':
|
if (s[-16:] == ' - New directory'
|
||||||
|
or s[:26] == ' - New directory,NONE,NONE'):
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
if s[-19:] == r' - Imported sources':
|
if (s[-19:] == ' - Imported sources'
|
||||||
|
or s[-29:] == ' - Imported sources,NONE,NONE'):
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
file_data_list = []
|
file_data_list = []
|
||||||
|
|
Loading…
Reference in New Issue