# HG changeset patch # User Vadim Gelfer # Date 1153004765 25200 # Node ID de82749d3a7145f6e0a14f83733254524ddc39c4 # Parent fc0ec2b641501e8cf9519e17fd8e00b0134aa829 clone: change name of --stream to --uncompressed. mpm asked for this. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -970,7 +970,7 @@ def clone(ui, source, dest=None, **opts) ui.setconfig_remoteopts(**opts) hg.clone(ui, ui.expandpath(source), dest, pull=opts['pull'], - stream=opts['stream'], + stream=opts['uncompressed'], rev=opts['rev'], update=not opts['noupdate']) @@ -2863,7 +2863,8 @@ table = { ('r', 'rev', [], _('a changeset you would like to have after cloning')), ('', 'pull', None, _('use pull protocol to copy metadata')), - ('', 'stream', None, _('use streaming protocol (fast over LAN)')), + ('', 'uncompressed', None, + _('use uncompressed transfer (fast over LAN)')), ('e', 'ssh', '', _('specify ssh command to use')), ('', 'remotecmd', '', _('specify hg command to run on the remote side'))],