[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesdk/scripts
From:       David Faure <faure () kde ! org>
Date:       2005-03-04 22:15:53
Message-ID: 20050304221553.C6354157B9 () office ! kde ! org
[Download RAW message or body]

CVS commit by faure: 

Ah, so this is why all backports used to mess up indentation. Fixed.


  M +1 -1      cvsbackport   1.6
  M +1 -1      cvsforwardport   1.4
  M +3 -1      cvslastchange   1.17


--- kdesdk/scripts/cvslastchange  #1.16:1.17
@@ -49,5 +49,7 @@
 print "$cmd\n";
 system("$cmd");
-$cmd = "cd $dir; cvs -f diff -kk -bp -u -r$vold -r$vnew $base";
+my $whitespace = "";
+$whitespace = "-b" unless (defined $ENV{"CVSLASTCHANGE_KEEP_WHITESPACE"});
+$cmd = "cd $dir; cvs -f diff -kk $whitespace -p -u -r$vold -r$vnew $base";
 print "$cmd\n";
 system("$cmd");

--- kdesdk/scripts/cvsbackport  #1.5:1.6
@@ -14,5 +14,5 @@
 
   echo "looking for last change to $1..."
-  cvslastchange $1 > $TMPFILE
+  CVSLASTCHANGE_KEEP_WHITESPACE=1 cvslastchange $1 > $TMPFILE
   echo "browsing last change to $1..."
   less $TMPFILE

--- kdesdk/scripts/cvsforwardport  #1.3:1.4
@@ -14,5 +14,5 @@
 
   echo "looking for last change to $1..."
-  cvslastchange $1 > $TMPFILE
+  CVSLASTCHANGE_KEEP_WHITESPACE=1 cvslastchange $1 > $TMPFILE
   echo "browsing last change to $1..."
   less $TMPFILE


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic