Implement the stub needed to get into compilation callback.
[oota-llvm.git] / utils / cvsupdate
index e6612668213d4acd60ed7d56e375bdac1096372c..e5a58266327344e8a3c6f275e4af954bc18f0dde 100755 (executable)
@@ -32,7 +32,7 @@ while ( !( $?options_done ) && ($#argv > 0))
 end
 
 if ($doit == 1) then
-    /bin/mv -f cvs.out cvs.out.bak
+    /bin/mv -f cvs.out cvs.out.bak >&/dev/null
     cvs update -P -d >& cvs.out
 ##    if ($status != 0) then
 ##        echo "ERROR: CVS update failed: "
@@ -44,16 +44,19 @@ else
 endif
 
 echo ""; echo "        FILES UPDATED:"
-grep '^U' cvs.out
+grep '^[UP] ' cvs.out
 
 echo ""; echo "        UPDATE CONFLICTS OCCURRED FOR THE FOLLOWING FILES:"
-grep '^C' cvs.out
+grep '^C ' cvs.out
 
-echo ""; echo " FILES REMOVED FROM YOUR DIRECTORY:"
+echo ""; echo "        NEW FILES THAT NEED TO BE COMMITTED:"
+grep '^[AR] ' cvs.out
+
+echo ""; echo "        FILES REMOVED FROM YOUR DIRECTORY:"
 grep 'no longer in the repository' cvs.out
 
 echo ""; echo "        FILES SUCCESSFULLY MERGED (or locally modified):"
-grep '^M' cvs.out | grep -v Merging
+grep '^M ' cvs.out
 
 echo ""; echo "        NEW FILES AND DIRECTORIES:"
 if ($printnew != 0) then