update: use hg diff --stat for .serials
authorTero Marttila <terom@paivola.fi>
Tue, 20 Mar 2012 14:30:16 +0200
changeset 580 d83a5e9be193
parent 579 12e098a732ed
child 581 6292cb597954
update: use hg diff --stat for .serials
lib/update.operations
lib/update.utils
--- a/lib/update.operations	Tue Mar 20 14:25:05 2012 +0200
+++ b/lib/update.operations	Tue Mar 20 14:30:16 2012 +0200
@@ -261,7 +261,9 @@
 
     elif [ $COMMIT_SKIP ]; then
         log_noop    "$msg: skipped"
-
+        
+        # still show diff, though
+        [ $LOG_DIFF ] && indent "    " hg_diff
     else
         log_update  "$msg..."
 
--- a/lib/update.utils	Tue Mar 20 14:25:05 2012 +0200
+++ b/lib/update.utils	Tue Mar 20 14:30:16 2012 +0200
@@ -82,6 +82,8 @@
 
 # Show changes in repo
 function hg_diff {
+    # just stat hidden files, but show the rest
+    hg diff --stat -I "$REPO/$REPO_HIDE"
     hg diff -X "$REPO/$REPO_HIDE"
 }