1. camlspotter
  2. mutated_ocaml

Commits

j...@vmware  committed bdf470a

toward release

  • Participants
  • Parent commits de39845
  • Branches default

Comments (0)

Files changed (2)

File 0CLEANDIFF

View file
  • Ignore whitespace
+#!/usr/bin/perl
+
+while(<>){
+  START:
+    if( /^diff.*\/CVS\/.*/ ){
+	while(<>){
+	    if( /^diff/ ){
+		goto START;
+	    }
+	}
+    } 
+    print $_;
+}

File 0MAKEDIFF-home

View file
  • Ignore whitespace
 
 `/bin/cp ocamlspot/INSTALL-ocamlspot.txt .`;
 
-`hg diff -r dcce7f620fb6 -r tip -X "0MAKEDIFF*" -X "0UPDATE*" -X "0INSTALL" -X ".hg*" > ocamlspot.diff`;
+`hg diff -r dcce7f620fb6 -r tip -X "0MAKEDIFF*" -X "0UPDATE*" -X "0INSTALL" -X ".hg[a-z]*" | ./0CLEANDIFF > ocamlspot.diff`;
 
 open(IN, "ocamlspot.diff");
 
-@files = ("INSTALL-ocamlspot.txt", "0MAKEDIFF*", "0UPDATE*", "0INSTALL", ".hg*", "ocamlspot.diff");
+@files = ("INSTALL-ocamlspot.txt", "0MAKEDIFF*", "0UPDATE*", "0INSTALL", ".hg[a-z]*", "ocamlspot.diff");
 while(<IN>){
     if( /^Binary file (.*) has changed/ ){
 	@files = (@files, $1);