Allow passing around LLVMContext in ocaml.
[oota-llvm.git] / utils / mkpatch
index a800f0d73e3b6bc8d4f55e945ba818b8e9be5d95..d256d98f6f3d3541cafe093d39b7fdf4bf90d198 100755 (executable)
@@ -18,16 +18,16 @@ if [ "$#" -ne 1 ] ; then
 fi
 NAME="$1"
 echo "mkpatch: Generating differences on top level files"
-cvs diff -l -Ntdup -5 . > "$NAME".patch.raw 2>&1
+svn diff -N -x -u > "$NAME".patch.raw 2>&1
 echo "mkpatch: Generating differences on all directories"
-cvs diff -Ntdup -5 >> "$NAME".patch.raw 2>&1 \
+svn diff -x -u  >> "$NAME".patch.raw 2>&1 \
   autoconf docs utils include lib/System lib/Support lib/VMCore lib/AsmParser \
-  lib/Bytecode lib/Analysis lib/Transforms lib/CodeGen lib/Target \
+  lib/Bitcode lib/Analysis lib/Transforms lib/CodeGen lib/Target \
   lib/ExecutionEngine lib/Debugger lib/Linker \
-  tools test runtime projects examples win32 Xcode
+  tools test unittests runtime projects examples win32 Xcode
 
 echo "mkpatch: Removing cruft from the patch file"
-sed "$NAME".patch.raw -e '/^[?] .*/d' -e '/^cvs diff: Diffing/d' | awk '\
+sed -e '/^[?] .*/d' -e '/^cvs diff: Diffing/d' "$NAME".patch.raw | awk '\
 BEGIN { deleting = 0; } \
 /^Index: .*[.]cvs$/ { deleting = 1; fname=substr($0,7); \
   print "Skipping: ", fname > "/dev/stderr"; } \