Show More
@@ -696,6 +696,8 b' def clone(ui, source, dest=None, **opts)' | |||
|
696 | 696 | such as AFS, implement hardlinking incorrectly, but do not report |
|
697 | 697 | errors. In these cases, use the --pull option to avoid |
|
698 | 698 | hardlinking. |
|
699 | ||
|
700 | See pull for valid source format details. | |
|
699 | 701 | """ |
|
700 | 702 | if dest is None: |
|
701 | 703 | dest = os.path.basename(os.path.normpath(source)) |
@@ -1713,6 +1715,8 b' def outgoing(ui, repo, dest="default-pus' | |||
|
1713 | 1715 | Show changesets not found in the specified destination repo or the |
|
1714 | 1716 | default push repo. These are the changesets that would be pushed |
|
1715 | 1717 | if a push was requested. |
|
1718 | ||
|
1719 | See pull for valid source format details. | |
|
1716 | 1720 | """ |
|
1717 | 1721 | dest = ui.expandpath(dest, repo.root) |
|
1718 | 1722 | other = hg.repository(ui, dest) |
@@ -1854,8 +1858,9 b' def push(ui, repo, dest="default-push", ' | |||
|
1854 | 1858 | return r |
|
1855 | 1859 | |
|
1856 | 1860 | def rawcommit(ui, repo, *flist, **rc): |
|
1857 |
"""raw commit interface |
|
|
1858 | ||
|
1861 | """raw commit interface | |
|
1862 | ||
|
1863 | (DEPRECATED) | |
|
1859 | 1864 | Lowlevel commit, for use in helper scripts. |
|
1860 | 1865 | |
|
1861 | 1866 | This command is not intended to be used by normal users, as it is |
@@ -1960,9 +1965,16 b' def rename(ui, repo, *pats, **opts):' | |||
|
1960 | 1965 | def revert(ui, repo, *pats, **opts): |
|
1961 | 1966 | """revert modified files or dirs back to their unmodified states |
|
1962 | 1967 | |
|
1963 |
|
|
|
1964 |
directories. This restores the contents of |
|
|
1965 | an unmodified state. | |
|
1968 | In its default mode, it reverts any uncommitted modifications made | |
|
1969 | to the named files or directories. This restores the contents of | |
|
1970 | the affected files to an unmodified state. | |
|
1971 | ||
|
1972 | Using the -r option, it reverts the given files or directories to | |
|
1973 | their state as of an earlier revision. This can be helpful to "roll | |
|
1974 | back" some or all of a change that should not have been committed. | |
|
1975 | ||
|
1976 | Revert modifies the working directory. It does not commit any | |
|
1977 | changes, or change the parent of the current working directory. | |
|
1966 | 1978 | |
|
1967 | 1979 | If a file has been deleted, it is recreated. If the executable |
|
1968 | 1980 | mode of a file was changed, it is reset. |
@@ -2367,7 +2379,7 b' table = {' | |||
|
2367 | 2379 | ('c', 'changeset', None, _('list the changeset')), |
|
2368 | 2380 | ('I', 'include', [], _('include names matching the given patterns')), |
|
2369 | 2381 | ('X', 'exclude', [], _('exclude names matching the given patterns'))], |
|
2370 |
_('hg annotate [ |
|
|
2382 | _('hg annotate [-r <rev> -u -n -c -d] [files ...]')), | |
|
2371 | 2383 | "bundle": |
|
2372 | 2384 | (bundle, |
|
2373 | 2385 | [], |
@@ -2442,7 +2454,7 b' table = {' | |||
|
2442 | 2454 | [('o', 'output', '', _('print output to file with formatted name')), |
|
2443 | 2455 | ('a', 'text', None, _('treat all files as text')), |
|
2444 | 2456 | ('', 'switch-parent', None, _('diff against the second parent'))], |
|
2445 |
_('hg export [-a] [-o |
|
|
2457 | _('hg export [-a] [-o filespec] REV...')), | |
|
2446 | 2458 | "forget": |
|
2447 | 2459 | (forget, |
|
2448 | 2460 | [('I', 'include', [], _('include names matching the given patterns')), |
@@ -2599,13 +2611,13 b' table = {' | |||
|
2599 | 2611 | ('d', 'date', '', _('record datecode as commit date')), |
|
2600 | 2612 | ('u', 'user', '', _('record user as commiter')), |
|
2601 | 2613 | ('r', 'rev', '', _('revision to tag'))], |
|
2602 | _('hg tag [-r REV] [OPTION]... NAME')), | |
|
2614 | _('hg tag [-l -m <text> -d <datecode> -u <user> -r <rev>] <name>')), | |
|
2603 | 2615 | "tags": (tags, [], _('hg tags')), |
|
2604 | 2616 | "tip": |
|
2605 | 2617 | (tip, |
|
2606 | 2618 | [('b', 'branches', None, _('show branches')), |
|
2607 | 2619 | ('p', 'patch', None, _('show patch'))], |
|
2608 |
_('hg [-b] [-p] |
|
|
2620 | _('hg tip [-b] [-p]')), | |
|
2609 | 2621 | "unbundle": |
|
2610 | 2622 | (unbundle, |
|
2611 | 2623 | [('u', 'update', None, |
General Comments 0
You need to be logged in to leave comments.
Login now