[llvm-commits] CVS: llvm/cvsupdate

vadve at cs.uiuc.edu vadve at cs.uiuc.edu
Sun Sep 15 11:46:01 PDT 2002


Changes in directory llvm:

cvsupdate updated: 1.2 -> 1.3

---
Log message:

Check error condition after cvs returns.  Also remove -c option.


---
Diffs of the changes:

Index: llvm/cvsupdate
diff -u llvm/cvsupdate:1.2 llvm/cvsupdate:1.3
--- llvm/cvsupdate:1.2	Mon Apr 29 14:11:01 2002
+++ llvm/cvsupdate	Sun Sep 15 11:45:10 2002
@@ -1,4 +1,4 @@
-#!/bin/csh -f -c
+#!/bin/csh -f
 #
 # This script updates the entire tree, saves the output in cvs.out,
 # and then separately prints out the files that had merge conflicts,
@@ -31,6 +31,11 @@
 if ($doit == 1) then
     /bin/mv -f cvs.out cvs.out.bak
     cvs update -P -d >& cvs.out
+    if ($status != 0) then
+        echo "ERROR: CVS update failed: "
+	cat cvs.out
+	exit 1
+    endif
 else
     echo ""; echo "Not updating files."; echo ""
 endif





More information about the llvm-commits mailing list