]> git.neil.brown.name Git - history.git/commitdiff
Improvements to the bk-make-sum BitKeeper summary/submission script:
authorJeff Garzik <jgarzik@redhat.com>
Tue, 24 Feb 2004 16:18:44 +0000 (11:18 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 24 Feb 2004 16:18:44 +0000 (11:18 -0500)
* use bk:// url to reduce confusion
* remove "Linus, " from introductory output text
* don't diffstat each individual cset; do the entire patch all in
  one go.  Makes the script a -lot- faster when summarizing
  a large number of changesets.

Documentation/BK-usage/bk-make-sum

index f304ce34c49fbf91838fa3d4b67cc16f7e0170b3..58ca46a0fcc65b08440e3cbfb79de6537369dc4b 100755 (executable)
@@ -7,18 +7,15 @@ DIRBASE=`basename $PWD`
 
 {
 cat <<EOT
-Linus, please do a
+Please do a
 
-       bk pull http://gkernel.bkbits.net/$DIRBASE
+       bk pull bk://gkernel.bkbits.net/$DIRBASE
 
 This will update the following files:
 
 EOT
 
-bk changes -L -d'$unless(:MERGE:){:CSETREV:\n}' $LINUS_REPO |
-while read rev; do
-  bk export -tpatch -r$rev
-done | diffstat -p1 2>/dev/null
+bk export -tpatch -hdu -r`bk repogca $LINUS_REPO`,+ | diffstat -p1 2>/dev/null
 
 cat <<EOT