Show More
@@ -2675,6 +2675,11 b' globalopts = [' | |||||
2675 | dryrunopts = [('n', 'dry-run', None, |
|
2675 | dryrunopts = [('n', 'dry-run', None, | |
2676 | _('do not perform actions, just print output'))] |
|
2676 | _('do not perform actions, just print output'))] | |
2677 |
|
2677 | |||
|
2678 | remoteopts = [ | |||
|
2679 | ('e', 'ssh', '', _('specify ssh command to use')), | |||
|
2680 | ('', 'remotecmd', '', _('specify hg command to run on the remote side')), | |||
|
2681 | ] | |||
|
2682 | ||||
2678 | walkopts = [ |
|
2683 | walkopts = [ | |
2679 | ('I', 'include', [], _('include names matching the given patterns')), |
|
2684 | ('I', 'include', [], _('include names matching the given patterns')), | |
2680 | ('X', 'exclude', [], _('exclude names matching the given patterns')), |
|
2685 | ('X', 'exclude', [], _('exclude names matching the given patterns')), | |
@@ -2741,9 +2746,7 b' table = {' | |||||
2741 | ('', 'pull', None, _('use pull protocol to copy metadata')), |
|
2746 | ('', 'pull', None, _('use pull protocol to copy metadata')), | |
2742 | ('', 'uncompressed', None, |
|
2747 | ('', 'uncompressed', None, | |
2743 | _('use uncompressed transfer (fast over LAN)')), |
|
2748 | _('use uncompressed transfer (fast over LAN)')), | |
2744 | ('e', 'ssh', '', _('specify ssh command to use')), |
|
2749 | ] + remoteopts, | |
2745 | ('', 'remotecmd', '', |
|
|||
2746 | _('specify hg command to run on the remote side'))], |
|
|||
2747 | _('hg clone [OPTION]... SOURCE [DEST]')), |
|
2750 | _('hg clone [OPTION]... SOURCE [DEST]')), | |
2748 | "^commit|ci": |
|
2751 | "^commit|ci": | |
2749 | (commit, |
|
2752 | (commit, | |
@@ -2848,17 +2851,11 b' table = {' | |||||
2848 | ('p', 'patch', None, _('show patch')), |
|
2851 | ('p', 'patch', None, _('show patch')), | |
2849 | ('r', 'rev', [], _('a specific revision up to which you would like to pull')), |
|
2852 | ('r', 'rev', [], _('a specific revision up to which you would like to pull')), | |
2850 | ('', 'template', '', _('display with template')), |
|
2853 | ('', 'template', '', _('display with template')), | |
2851 | ('e', 'ssh', '', _('specify ssh command to use')), |
|
2854 | ] + remoteopts, | |
2852 | ('', 'remotecmd', '', |
|
|||
2853 | _('specify hg command to run on the remote side'))], |
|
|||
2854 | _('hg incoming [-p] [-n] [-M] [-r REV]...' |
|
2855 | _('hg incoming [-p] [-n] [-M] [-r REV]...' | |
2855 | ' [--bundle FILENAME] [SOURCE]')), |
|
2856 | ' [--bundle FILENAME] [SOURCE]')), | |
2856 | "^init": |
|
2857 | "^init": | |
2857 | (init, |
|
2858 | (init, remoteopts, _('hg init [-e FILE] [--remotecmd FILE] [DEST]')), | |
2858 | [('e', 'ssh', '', _('specify ssh command to use')), |
|
|||
2859 | ('', 'remotecmd', '', |
|
|||
2860 | _('specify hg command to run on the remote side'))], |
|
|||
2861 | _('hg init [-e FILE] [--remotecmd FILE] [DEST]')), |
|
|||
2862 | "locate": |
|
2859 | "locate": | |
2863 | (locate, |
|
2860 | (locate, | |
2864 | [('r', 'rev', '', _('search the repository as it stood at rev')), |
|
2861 | [('r', 'rev', '', _('search the repository as it stood at rev')), | |
@@ -2901,9 +2898,7 b' table = {' | |||||
2901 | ('r', 'rev', [], _('a specific revision you would like to push')), |
|
2898 | ('r', 'rev', [], _('a specific revision you would like to push')), | |
2902 | ('n', 'newest-first', None, _('show newest record first')), |
|
2899 | ('n', 'newest-first', None, _('show newest record first')), | |
2903 | ('', 'template', '', _('display with template')), |
|
2900 | ('', 'template', '', _('display with template')), | |
2904 | ('e', 'ssh', '', _('specify ssh command to use')), |
|
2901 | ] + remoteopts, | |
2905 | ('', 'remotecmd', '', |
|
|||
2906 | _('specify hg command to run on the remote side'))], |
|
|||
2907 | _('hg outgoing [-M] [-p] [-n] [-r REV]... [DEST]')), |
|
2902 | _('hg outgoing [-M] [-p] [-n] [-r REV]... [DEST]')), | |
2908 | "^parents": |
|
2903 | "^parents": | |
2909 | (parents, |
|
2904 | (parents, | |
@@ -2917,20 +2912,16 b' table = {' | |||||
2917 | (pull, |
|
2912 | (pull, | |
2918 | [('u', 'update', None, |
|
2913 | [('u', 'update', None, | |
2919 | _('update the working directory to tip after pull')), |
|
2914 | _('update the working directory to tip after pull')), | |
2920 | ('e', 'ssh', '', _('specify ssh command to use')), |
|
|||
2921 | ('f', 'force', None, |
|
2915 | ('f', 'force', None, | |
2922 | _('run even when remote repository is unrelated')), |
|
2916 | _('run even when remote repository is unrelated')), | |
2923 | ('r', 'rev', [], _('a specific revision up to which you would like to pull')), |
|
2917 | ('r', 'rev', [], _('a specific revision up to which you would like to pull')), | |
2924 |
|
|
2918 | ] + remoteopts, | |
2925 | _('specify hg command to run on the remote side'))], |
|
|||
2926 | _('hg pull [-u] [-r REV]... [-e FILE] [--remotecmd FILE] [SOURCE]')), |
|
2919 | _('hg pull [-u] [-r REV]... [-e FILE] [--remotecmd FILE] [SOURCE]')), | |
2927 | "^push": |
|
2920 | "^push": | |
2928 | (push, |
|
2921 | (push, | |
2929 | [('f', 'force', None, _('force push')), |
|
2922 | [('f', 'force', None, _('force push')), | |
2930 | ('e', 'ssh', '', _('specify ssh command to use')), |
|
|||
2931 | ('r', 'rev', [], _('a specific revision you would like to push')), |
|
2923 | ('r', 'rev', [], _('a specific revision you would like to push')), | |
2932 |
|
|
2924 | ] + remoteopts, | |
2933 | _('specify hg command to run on the remote side'))], |
|
|||
2934 | _('hg push [-f] [-r REV]... [-e FILE] [--remotecmd FILE] [DEST]')), |
|
2925 | _('hg push [-f] [-r REV]... [-e FILE] [--remotecmd FILE] [DEST]')), | |
2935 | "debugrawcommit|rawcommit": |
|
2926 | "debugrawcommit|rawcommit": | |
2936 | (rawcommit, |
|
2927 | (rawcommit, |
General Comments 0
You need to be logged in to leave comments.
Login now