[ooo-build-commit] .: bin/cws-extract

Miklos Vajna vmiklos at kemper.freedesktop.org
Fri Aug 6 11:15:36 PDT 2010


 bin/cws-extract |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 63eb695bfe4bb870206a1f32f99be61017276e10
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Fri Aug 6 19:59:00 2010 +0200

    cws-extract: Use hg diff to get a single diff for the cws
    
    * bin/cws-extract:

diff --git a/bin/cws-extract b/bin/cws-extract
index 0405d80..c032f8b 100755
--- a/bin/cws-extract
+++ b/bin/cws-extract
@@ -72,7 +72,9 @@ sub cws_extract($$$)
 
     print "CWS:\t\tgenerating diff against $milestone\n";
     if ( system( "cd $mws && \
-                  hg incoming -p -f -M http://hg.services.openoffice.org/cws/$cws > ../cws-$cws.diff" ) != 0 ) {
+                  hg incoming --bundle /tmp/$cws.hg http://hg.services.openoffice.org/cws/$cws >> .log && \
+                  hg diff -R /tmp/$cws.hg -X .hgtags -r .:tip > ../cws-$cws.diff && \
+                  rm -f /tmp/$cws.hg" ) != 0 ) {
         print STDERR "Unable to generate patch against $cws, check the log for details.\n";
         exit 1;
     }


More information about the ooo-build-commit mailing list