From 3189dfd234d88ef79dfc9a6378ce177bd49d01a5 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 31 May 2008 15:02:12 +0200 Subject: added pkg_log --- bin/pkg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') 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" ;; -- cgit v1.2.3