Source

mutated_ocaml / 0MAKEDIFF-home

Full commit
#!/usr/bin/perl

`/bin/cp ocamlspot/INSTALL-ocamlspot.txt .`;

`hg diff -r c0ddf4b8e5c0 -r tip -X "0*" -X ".hg[a-z]*" | ./0CLEANDIFF > ocamlspot.diff`;

open(IN, "ocamlspot.diff");

@files = ("INSTALL-ocamlspot.txt", "0*", ".hg[a-z]*", "ocamlspot.diff");
while(<IN>){
    if( /^Binary file (.*) has changed/ ){
	@files = (@files, $1);
    }
}

$com = sprintf "tar zcvf ocamlspot.tgz %s", join(' ', @files);

print STDERR "$com\n";
`$com`;