CVSROOT/. log_accum

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 1 04:47:25 CST 2005


ChangeSet ID:	21015
CVSROOT:	/opt/cvs-commit
Module name:	CVSROOT
Changes by:	julliard at winehq.org	2005/11/01 04:47:25

Modified files:
	.              : log_accum 

Log message:
	Restore handling of default commitlog.
	Fixed a few typos.

Patch: http://cvs.winehq.org/patch.py?id=21015

Old revision  New revision  Changes     Path
 1.30          1.31          +9 -4       CVSROOT/log_accum

Index: CVSROOT/log_accum
diff -u -p CVSROOT/log_accum:1.30 CVSROOT/log_accum:1.31
--- CVSROOT/log_accum	1 Nov 2005 10:47:25 -0000
+++ /dev/null	1 Nov 2005 10:47:25 -0000
@@ -304,7 +304,7 @@ sub create_diff {
     }
     system($cvs_cmd);
 
-    if (new_rev == 'Removed') {
+    if ($new_rev == 'Removed') {
 	$dis_old = $filename;
 	$dis_new = '/dev/null';
     } else {
@@ -602,6 +602,11 @@ while (@ARGV) {
 }
 ($mailto) || die("No -m mail recipient specified\n");
 
+if ($do_summary)
+{
+    if ($commitlog eq "") { $commitlog = $DEFAULT_COMMITLOG; }
+}
+
 # Default the project name to the host if we don't know better
 if ($projectname eq "") {
     $projectname = $hostdomain;
@@ -996,15 +1001,15 @@ if ($do_cia) {
 
     foreach $f (@modified_files)
     {
-        push @cia_text, "        <file action=modify>" . xml_escape($f) . "</file>";
+        push @cia_text, "        <file action=\"modify\">" . xml_escape($f) . "</file>";
     }
     foreach $f (@added_files)
     {
-        push @cia_text, "        <file action=add>" . xml_escape($f) . "</file>";
+        push @cia_text, "        <file action=\"add\">" . xml_escape($f) . "</file>";
     }
     foreach $f (@removed_files)
     {
-        push @cia_text, "        <file action=remove>" . xml_escape($f) . "</file>";
+        push @cia_text, "        <file action=\"remove\">" . xml_escape($f) . "</file>";
     }
 
     push @cia_text,



More information about the wine-cvs mailing list