Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 2613:479e26afa10f
clone: do not make streaming default. add --stream option instead.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 14 Jul 2006 14:51:36 -0700 |
parents | 00fc88b0b256 |
children | 8ba1c31f6864 |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Jul 14 11:17:22 2006 -0700 +++ b/mercurial/commands.py Fri Jul 14 14:51:36 2006 -0700 @@ -959,6 +959,7 @@ ui.setconfig_remoteopts(**opts) hg.clone(ui, ui.expandpath(source), dest, pull=opts['pull'], + stream=opts['stream'], rev=opts['rev'], update=not opts['noupdate']) @@ -2850,6 +2851,7 @@ ('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)')), ('e', 'ssh', '', _('specify ssh command to use')), ('', 'remotecmd', '', _('specify hg command to run on the remote side'))],