--- a/lib/update.updates Tue Mar 20 15:07:03 2012 +0200
+++ b/lib/update.updates Wed Mar 21 16:45:59 2012 +0200
@@ -132,33 +132,3 @@
cmd ln -sf $ROOT/$tgt $ROOT/$lnk
}
-## Update .serial number:
-#
-# do_update_serial $serial
-#
-# Shows old/new serial on debug.
-function do_update_serial {
- local serial=$1
-
- # read
- local old=$(test -e $ROOT/$serial && cat $ROOT/$serial || echo '')
-
-
- cmd $BIN/update-serial $ROOT/$serial
-
- # read
- local new=$(cat $ROOT/$serial)
-
- debug " $old -> $new"
-}
-
-## Perform `hg commit` for $DATA
-function do_commit {
- local msg=$1
-
- [ $LOG_DIFF ] && indent " " hg_diff
-
- hg_commit "$msg"
-}
-
-