summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-02-19 04:46:09 +0000
committerMarius Mauch <genone@gentoo.org>2006-02-19 04:46:09 +0000
commit7bc1b2956965d7db1de76a99dae7866498d38c00 (patch)
tree634c18df7c9c53bed46b023e904f9017840ea4fe /bin
parentdad1e45ff9829f3d359ccba4edfcd9678b53451a (diff)
downloadportage-7bc1b2956965d7db1de76a99dae7866498d38c00.tar.gz
portage-7bc1b2956965d7db1de76a99dae7866498d38c00.tar.bz2
portage-7bc1b2956965d7db1de76a99dae7866498d38c00.zip
finally remove --rsync
svn path=/main/trunk/; revision=2740
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge20
1 files changed, 3 insertions, 17 deletions
diff --git a/bin/emerge b/bin/emerge
index 09a1dfd7a..e0be7e05e 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -170,7 +170,7 @@ params=["selective", "deep", "self", "recurse", "empty"]
actions=[
"clean", "config", "depclean",
"info", "inject", "metadata",
-"prune", "regen", "rsync", "search",
+"prune", "regen", "search",
"sync", "system", "unmerge", "world",
]
options=[
@@ -257,13 +257,6 @@ for x in cmdline:
if x in options:
myopts.append(x)
elif x[2:] in actions:
- if x[2:]=="rsync" or x=="rsync":
- # "emerge --rsync"
- print
- print red("*** '--rsync' has been deprecated.")
- print red("*** Please use '--sync' instead.")
- print
- x="--sync"
if myaction:
if myaction not in ["system", "world"]:
myaction="--"+myaction
@@ -279,14 +272,7 @@ for x in cmdline:
elif (not myaction) and (x in actions):
if x not in ["system", "world"]:
#print red("*** Deprecated use of action '"+x+"'")
- if x=="rsync":
- # "emerge rsync"
- print
- print red("*** 'rsync' will now install the package rsync.")
- print red("*** To sync the tree, please use '--sync' instead.")
- print
- myfiles.append(x)
- continue
+ pass
if myaction:
print
print red("!!!")+green(" Multiple actions requested... Please choose one only.")
@@ -2481,7 +2467,7 @@ def chk_updated_cfg_files():
if "--debug" in myopts:
edebug=1
-if myaction in ["sync","rsync","metadata"] and (not "--help" in myopts):
+if myaction in ["sync","metadata"] and (not "--help" in myopts):
if "--pretend" in myopts:
print "emerge: \"sync\" actions do not support \"--pretend.\""
sys.exit(1)