Author: adam-guest
Date: 2008-03-04 07:11:03 +0000 (Tue, 04 Mar 2008)
New Revision: 1099

Modified:
   trunk/debian/changelog
   trunk/scripts/debcommit.pl
Log:
debcommit: Set $SVKDIFF before calling "svk diff" (Closes: #469238)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2008-03-04 06:47:34 UTC (rev 1098)
+++ trunk/debian/changelog      2008-03-04 07:11:03 UTC (rev 1099)
@@ -17,8 +17,7 @@
     + Modify each of the simple shell variable tests (e.g. $RANDOM) to
       also match ${variable}
   * bts: Allow the sendmail command to begin with a ~ (Closes: #469207)
-  * debcommit: Don't attempt to call svk diff with options, as it doesn't
-    support them (Closes: #469238)
+  * debcommit: Set $SVKDIFF before calling "svk diff" (Closes: #469238)
 
  -- Adam D. Barratt <[EMAIL PROTECTED]>  Sat, 01 Mar 2008 11:42:02 +0000
 

Modified: trunk/scripts/debcommit.pl
===================================================================
--- trunk/scripts/debcommit.pl  2008-03-04 06:47:34 UTC (rev 1098)
+++ trunk/scripts/debcommit.pl  2008-03-04 07:11:03 UTC (rev 1099)
@@ -526,8 +526,8 @@
        } elsif ($prog eq 'svn') {
            @diffcmd = ($prog, 'diff', '--diff-cmd', '/usr/bin/diff', 
'--extensions', '-wu');
        } elsif ($prog eq 'svk') {
+           $ENV{'SVKDIFF'} = '/usr/bin/diff -w -u';
            @diffcmd = ($prog, 'diff');
-       }
        } else {
            @diffcmd = ($prog, 'diff', '-w');
        }



-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to