logo       
Google Custom Search
    AddThis Social Bookmark Button

svn commit: r1345 - trunk/bin/loginfo-handler: msg#00045

Subject: svn commit: r1345 - trunk/bin/loginfo-handler
Author: rey4
Date: 2006-04-23 13:38:54-0700
New Revision: 1345

Modified:
   trunk/bin/loginfo-handler

Log:
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


Modified: trunk/bin/loginfo-handler
Url: 
http://viewvc.tigris.org/source/browse/viewvc/trunk/bin/loginfo-handler?view=diff&rev=1345&p1=trunk/bin/loginfo-handler&p2=trunk/bin/loginfo-handler&r1=1344&r2=1345
==============================================================================
--- trunk/bin/loginfo-handler   (original)
+++ trunk/bin/loginfo-handler   2006-04-23 13:38:54-0700
@@ -78,10 +78,12 @@
   directory name by choosing the longest possible directory name that actually
   exists in the repository"""
 
-  if s[-16:] == ' - New directory':
+  if (s[-16:] == ' - New directory'
+      or s[:26] == ' - New directory,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
 
   file_data_list = []



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>