summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-31 15:02:12 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-31 15:02:12 +0200
commit3189dfd234d88ef79dfc9a6378ce177bd49d01a5 (patch)
tree1f1cb09a3ee0716e4d5e1e3e4c08ee14c41318e3 /bin
parentbbb72ad99220c81e6d7335d164178bebecd65fff (diff)
added pkg_log
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 438ffda..6d7573e 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -224,6 +224,11 @@ pkg_info () {
}
}
+pkg_log () {
+ cd $PDIR/$1 || return
+ hg glog | less
+}
+
check_sed
case "$1" in
@@ -234,6 +239,7 @@ case "$1" in
install) pkg_add "$2" ;;
list) pkg_list_installed ;;
list-all) pkg_list_available ;;
+ log) pkg_log "$2" ;;
remove) pkg_remove "$2" ;;
status) pkg_status_wrapper "$2" ;;
update) pkg_update_wrapper "$2" ;;