Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 2620:de82749d3a71
clone: change name of --stream to --uncompressed.
mpm asked for this.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 15 Jul 2006 16:06:05 -0700 |
parents | 8367b67ad397 |
children | 837119f1bf4d |
comparison
equal
deleted
inserted
replaced
2619:fc0ec2b64150 | 2620:de82749d3a71 |
---|---|
968 for the pull command for important details about ssh:// URLs. | 968 for the pull command for important details about ssh:// URLs. |
969 """ | 969 """ |
970 ui.setconfig_remoteopts(**opts) | 970 ui.setconfig_remoteopts(**opts) |
971 hg.clone(ui, ui.expandpath(source), dest, | 971 hg.clone(ui, ui.expandpath(source), dest, |
972 pull=opts['pull'], | 972 pull=opts['pull'], |
973 stream=opts['stream'], | 973 stream=opts['uncompressed'], |
974 rev=opts['rev'], | 974 rev=opts['rev'], |
975 update=not opts['noupdate']) | 975 update=not opts['noupdate']) |
976 | 976 |
977 def commit(ui, repo, *pats, **opts): | 977 def commit(ui, repo, *pats, **opts): |
978 """commit the specified files or all outstanding changes | 978 """commit the specified files or all outstanding changes |
2861 (clone, | 2861 (clone, |
2862 [('U', 'noupdate', None, _('do not update the new working directory')), | 2862 [('U', 'noupdate', None, _('do not update the new working directory')), |
2863 ('r', 'rev', [], | 2863 ('r', 'rev', [], |
2864 _('a changeset you would like to have after cloning')), | 2864 _('a changeset you would like to have after cloning')), |
2865 ('', 'pull', None, _('use pull protocol to copy metadata')), | 2865 ('', 'pull', None, _('use pull protocol to copy metadata')), |
2866 ('', 'stream', None, _('use streaming protocol (fast over LAN)')), | 2866 ('', 'uncompressed', None, |
2867 _('use uncompressed transfer (fast over LAN)')), | |
2867 ('e', 'ssh', '', _('specify ssh command to use')), | 2868 ('e', 'ssh', '', _('specify ssh command to use')), |
2868 ('', 'remotecmd', '', | 2869 ('', 'remotecmd', '', |
2869 _('specify hg command to run on the remote side'))], | 2870 _('specify hg command to run on the remote side'))], |
2870 _('hg clone [OPTION]... SOURCE [DEST]')), | 2871 _('hg clone [OPTION]... SOURCE [DEST]')), |
2871 "^commit|ci": | 2872 "^commit|ci": |