Download:
child 22:e54f8d1eabf4
parent 20:e8a977bf28de
21:51e6cdf5fbeb
Anton Shestakov <engored@ya.ru>, Fri, 04 Oct 2013 23:33:02 +0900
Generate a diff of added files in commit preview.

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
.hgeditor file | annotate | diff | comparison | revisions
--- a/.hgeditor Fri Oct 04 23:15:23 2013 +0900
+++ b/.hgeditor Fri Oct 04 23:33:02 2013 +0900
@@ -34,7 +34,7 @@
}
(
- grep '^HG: changed' "$1" | cut -b 13- | while read changed; do
+ grep '^HG: \(changed\|added\)' "$1" | cut -d ' ' -f 3- | while read changed; do
"$HG" diff "$changed" >> "$HGTMP/diff"
done
)