summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg11
-rw-r--r--man/1/pkg7
-rw-r--r--provides/zsh/completions/_pkg4
3 files changed, 2 insertions, 20 deletions
diff --git a/bin/pkg b/bin/pkg
index 5199751..c8550a4 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -490,16 +490,6 @@ pkg_upgrade () {
}
}
-# Change the 'default' url in every package's .hgrc
-pkg_changesrc () {
- cd $PDIR
- for i in *(/); {
- if [[ -f $i/.hg/hgrc ]] {
- sed -i "s!default = [^:]*://.*\$!default = $1/$i!" $i/.hg/hgrc
- }
- }
-}
-
pkg_list_installed () {
cut -d ' ' -f 1 $PDIR/.list
}
@@ -623,7 +613,6 @@ pkg_doc () {
case $1 in
add) pkg_add $2 ;;
changelog) pkg_changelog $2 ;;
- changeroot) pkg_changesrc $2 ;;
check) wrap pkg_check "$2" "Checking" ;;
delete) pkg_remove $2 ;;
doc) pkg_doc $2 ;;
diff --git a/man/1/pkg b/man/1/pkg
index b5fba9f..376d747 100644
--- a/man/1/pkg
+++ b/man/1/pkg
@@ -24,13 +24,6 @@ fetch given I<package> from the package_root and install it
Show I<package>'s changelog (if available)
-=item B<changeroot> I<source>
-
-Change the default source on all packages to I<source>
-
-Example: `changeroot ssh://kraftwerk/var/packages_root` will change
-the source of core to 'ssh://kraftwerk/var/packages_root/core'
-
=item B<check> [ I<package> ]
Check dependencies, conflicts and symlinks of I<package>.
diff --git a/provides/zsh/completions/_pkg b/provides/zsh/completions/_pkg
index 0bd1b27..78bacc3 100644
--- a/provides/zsh/completions/_pkg
+++ b/provides/zsh/completions/_pkg
@@ -9,8 +9,8 @@ typeset expl
function _pkg_action () {
_wanted action expl 'action' \
- compadd add install changelog changeroot check delete eval remove info \
- list list-all local-update log push remote-update status update upgrade
+ compadd add install changelog check delete eval remove info list \
+ list-all local-update log push remote-update status update upgrade
}
function _pkg_installed () {