Show More
@@ -1773,7 +1773,7 b' def manifest(ui, repo, rev=None):' | |||||
1773 | ui.write("%s\n" % f) |
|
1773 | ui.write("%s\n" % f) | |
1774 |
|
1774 | |||
1775 | def merge(ui, repo, node=None, force=None, branch=None): |
|
1775 | def merge(ui, repo, node=None, force=None, branch=None): | |
1776 |
""" |
|
1776 | """merge working directory with another revision | |
1777 |
|
1777 | |||
1778 | Merge the contents of the current working directory and the |
|
1778 | Merge the contents of the current working directory and the | |
1779 | requested revision. Files that changed between either parent are |
|
1779 | requested revision. Files that changed between either parent are | |
@@ -2489,7 +2489,7 b' def unbundle(ui, repo, fname, **opts):' | |||||
2489 | return postincoming(ui, repo, modheads, opts['update']) |
|
2489 | return postincoming(ui, repo, modheads, opts['update']) | |
2490 |
|
2490 | |||
2491 | def update(ui, repo, node=None, clean=False, branch=None, date=None): |
|
2491 | def update(ui, repo, node=None, clean=False, branch=None, date=None): | |
2492 |
"""update |
|
2492 | """update working directory | |
2493 |
|
2493 | |||
2494 | Update the working directory to the specified revision. |
|
2494 | Update the working directory to the specified revision. | |
2495 |
|
2495 | |||
@@ -2501,7 +2501,7 b' def update(ui, repo, node=None, clean=Fa' | |||||
2501 | merge command. |
|
2501 | merge command. | |
2502 |
|
2502 | |||
2503 | By default, update will refuse to run if doing so would require |
|
2503 | By default, update will refuse to run if doing so would require | |
2504 |
|
|
2504 | discarding local changes. | |
2505 | """ |
|
2505 | """ | |
2506 | if date: |
|
2506 | if date: | |
2507 | if node: |
|
2507 | if node: | |
@@ -2807,7 +2807,7 b' table = {' | |||||
2807 | ] + walkopts, |
|
2807 | ] + walkopts, | |
2808 | _('hg log [OPTION]... [FILE]')), |
|
2808 | _('hg log [OPTION]... [FILE]')), | |
2809 | "manifest": (manifest, [], _('hg manifest [REV]')), |
|
2809 | "manifest": (manifest, [], _('hg manifest [REV]')), | |
2810 | "merge": |
|
2810 | "^merge": | |
2811 | (merge, |
|
2811 | (merge, | |
2812 | [('b', 'branch', '', _('merge with head of a specific branch (DEPRECATED)')), |
|
2812 | [('b', 'branch', '', _('merge with head of a specific branch (DEPRECATED)')), | |
2813 | ('f', 'force', None, _('force a merge with outstanding changes'))], |
|
2813 | ('f', 'force', None, _('force a merge with outstanding changes'))], |
@@ -141,7 +141,7 b' list of commands (use "hg help -v" to sh' | |||||
141 | locate locate files matching specific patterns |
|
141 | locate locate files matching specific patterns | |
142 | log show revision history of entire repository or files |
|
142 | log show revision history of entire repository or files | |
143 | manifest output the current or given revision of the project manifest |
|
143 | manifest output the current or given revision of the project manifest | |
144 |
merge |
|
144 | merge merge working directory with another revision | |
145 | outgoing show changesets not found in destination |
|
145 | outgoing show changesets not found in destination | |
146 | parents show the parents of the working dir or revision |
|
146 | parents show the parents of the working dir or revision | |
147 | paths show definition of symbolic path names |
|
147 | paths show definition of symbolic path names | |
@@ -160,7 +160,7 b' list of commands (use "hg help -v" to sh' | |||||
160 | tags list repository tags |
|
160 | tags list repository tags | |
161 | tip show the tip revision |
|
161 | tip show the tip revision | |
162 | unbundle apply a changegroup file |
|
162 | unbundle apply a changegroup file | |
163 |
update update |
|
163 | update update working directory | |
164 | verify verify the integrity of the repository |
|
164 | verify verify the integrity of the repository | |
165 | version output version and copyright information |
|
165 | version output version and copyright information | |
166 | Mercurial Distributed SCM |
|
166 | Mercurial Distributed SCM | |
@@ -191,7 +191,7 b' list of commands (use "hg help -v" to sh' | |||||
191 | locate locate files matching specific patterns |
|
191 | locate locate files matching specific patterns | |
192 | log show revision history of entire repository or files |
|
192 | log show revision history of entire repository or files | |
193 | manifest output the current or given revision of the project manifest |
|
193 | manifest output the current or given revision of the project manifest | |
194 |
merge |
|
194 | merge merge working directory with another revision | |
195 | outgoing show changesets not found in destination |
|
195 | outgoing show changesets not found in destination | |
196 | parents show the parents of the working dir or revision |
|
196 | parents show the parents of the working dir or revision | |
197 | paths show definition of symbolic path names |
|
197 | paths show definition of symbolic path names | |
@@ -210,7 +210,7 b' list of commands (use "hg help -v" to sh' | |||||
210 | tags list repository tags |
|
210 | tags list repository tags | |
211 | tip show the tip revision |
|
211 | tip show the tip revision | |
212 | unbundle apply a changegroup file |
|
212 | unbundle apply a changegroup file | |
213 |
update update |
|
213 | update update working directory | |
214 | verify verify the integrity of the repository |
|
214 | verify verify the integrity of the repository | |
215 | version output version and copyright information |
|
215 | version output version and copyright information | |
216 | %% not tested: --debugger |
|
216 | %% not tested: --debugger |
@@ -10,6 +10,7 b' basic commands (use "hg help" for the fu' | |||||
10 | export dump the header and diffs for one or more changesets |
|
10 | export dump the header and diffs for one or more changesets | |
11 | init create a new repository in the given directory |
|
11 | init create a new repository in the given directory | |
12 | log show revision history of entire repository or files |
|
12 | log show revision history of entire repository or files | |
|
13 | merge merge working directory with another revision | |||
13 | parents show the parents of the working dir or revision |
|
14 | parents show the parents of the working dir or revision | |
14 | pull pull changes from the specified source |
|
15 | pull pull changes from the specified source | |
15 | push push changes to the specified destination |
|
16 | push push changes to the specified destination | |
@@ -17,7 +18,7 b' basic commands (use "hg help" for the fu' | |||||
17 | revert revert files or dirs to their states as of some revision |
|
18 | revert revert files or dirs to their states as of some revision | |
18 | serve export the repository via HTTP |
|
19 | serve export the repository via HTTP | |
19 | status show changed files in the working directory |
|
20 | status show changed files in the working directory | |
20 |
update update |
|
21 | update update working directory | |
21 | add add the specified files on the next commit |
|
22 | add add the specified files on the next commit | |
22 | annotate show changeset information per file line |
|
23 | annotate show changeset information per file line | |
23 | clone make a copy of an existing repository |
|
24 | clone make a copy of an existing repository | |
@@ -26,6 +27,7 b' basic commands (use "hg help" for the fu' | |||||
26 | export dump the header and diffs for one or more changesets |
|
27 | export dump the header and diffs for one or more changesets | |
27 | init create a new repository in the given directory |
|
28 | init create a new repository in the given directory | |
28 | log show revision history of entire repository or files |
|
29 | log show revision history of entire repository or files | |
|
30 | merge merge working directory with another revision | |||
29 | parents show the parents of the working dir or revision |
|
31 | parents show the parents of the working dir or revision | |
30 | pull pull changes from the specified source |
|
32 | pull pull changes from the specified source | |
31 | push push changes to the specified destination |
|
33 | push push changes to the specified destination | |
@@ -33,7 +35,7 b' basic commands (use "hg help" for the fu' | |||||
33 | revert revert files or dirs to their states as of some revision |
|
35 | revert revert files or dirs to their states as of some revision | |
34 | serve export the repository via HTTP |
|
36 | serve export the repository via HTTP | |
35 | status show changed files in the working directory |
|
37 | status show changed files in the working directory | |
36 |
update update |
|
38 | update update working directory | |
37 | Mercurial Distributed SCM |
|
39 | Mercurial Distributed SCM | |
38 |
|
40 | |||
39 | list of commands (use "hg help -v" to show aliases and global options): |
|
41 | list of commands (use "hg help -v" to show aliases and global options): | |
@@ -62,7 +64,7 b' list of commands (use "hg help -v" to sh' | |||||
62 | locate locate files matching specific patterns |
|
64 | locate locate files matching specific patterns | |
63 | log show revision history of entire repository or files |
|
65 | log show revision history of entire repository or files | |
64 | manifest output the current or given revision of the project manifest |
|
66 | manifest output the current or given revision of the project manifest | |
65 |
merge |
|
67 | merge merge working directory with another revision | |
66 | outgoing show changesets not found in destination |
|
68 | outgoing show changesets not found in destination | |
67 | parents show the parents of the working dir or revision |
|
69 | parents show the parents of the working dir or revision | |
68 | paths show definition of symbolic path names |
|
70 | paths show definition of symbolic path names | |
@@ -81,7 +83,7 b' list of commands (use "hg help -v" to sh' | |||||
81 | tags list repository tags |
|
83 | tags list repository tags | |
82 | tip show the tip revision |
|
84 | tip show the tip revision | |
83 | unbundle apply a changegroup file |
|
85 | unbundle apply a changegroup file | |
84 |
update update |
|
86 | update update working directory | |
85 | verify verify the integrity of the repository |
|
87 | verify verify the integrity of the repository | |
86 | version output version and copyright information |
|
88 | version output version and copyright information | |
87 | add add the specified files on the next commit |
|
89 | add add the specified files on the next commit | |
@@ -108,7 +110,7 b' list of commands (use "hg help -v" to sh' | |||||
108 | locate locate files matching specific patterns |
|
110 | locate locate files matching specific patterns | |
109 | log show revision history of entire repository or files |
|
111 | log show revision history of entire repository or files | |
110 | manifest output the current or given revision of the project manifest |
|
112 | manifest output the current or given revision of the project manifest | |
111 |
merge |
|
113 | merge merge working directory with another revision | |
112 | outgoing show changesets not found in destination |
|
114 | outgoing show changesets not found in destination | |
113 | parents show the parents of the working dir or revision |
|
115 | parents show the parents of the working dir or revision | |
114 | paths show definition of symbolic path names |
|
116 | paths show definition of symbolic path names | |
@@ -127,7 +129,7 b' list of commands (use "hg help -v" to sh' | |||||
127 | tags list repository tags |
|
129 | tags list repository tags | |
128 | tip show the tip revision |
|
130 | tip show the tip revision | |
129 | unbundle apply a changegroup file |
|
131 | unbundle apply a changegroup file | |
130 |
update update |
|
132 | update update working directory | |
131 | verify verify the integrity of the repository |
|
133 | verify verify the integrity of the repository | |
132 | version output version and copyright information |
|
134 | version output version and copyright information | |
133 | hg add [OPTION]... [FILE]... |
|
135 | hg add [OPTION]... [FILE]... | |
@@ -257,6 +259,7 b' basic commands (use "hg help" for the fu' | |||||
257 | export dump the header and diffs for one or more changesets |
|
259 | export dump the header and diffs for one or more changesets | |
258 | init create a new repository in the given directory |
|
260 | init create a new repository in the given directory | |
259 | log show revision history of entire repository or files |
|
261 | log show revision history of entire repository or files | |
|
262 | merge merge working directory with another revision | |||
260 | parents show the parents of the working dir or revision |
|
263 | parents show the parents of the working dir or revision | |
261 | pull pull changes from the specified source |
|
264 | pull pull changes from the specified source | |
262 | push push changes to the specified destination |
|
265 | push push changes to the specified destination | |
@@ -264,7 +267,7 b' basic commands (use "hg help" for the fu' | |||||
264 | revert revert files or dirs to their states as of some revision |
|
267 | revert revert files or dirs to their states as of some revision | |
265 | serve export the repository via HTTP |
|
268 | serve export the repository via HTTP | |
266 | status show changed files in the working directory |
|
269 | status show changed files in the working directory | |
267 |
update update |
|
270 | update update working directory | |
268 | hg: unknown command 'skjdfks' |
|
271 | hg: unknown command 'skjdfks' | |
269 | Mercurial Distributed SCM |
|
272 | Mercurial Distributed SCM | |
270 |
|
273 | |||
@@ -278,6 +281,7 b' basic commands (use "hg help" for the fu' | |||||
278 | export dump the header and diffs for one or more changesets |
|
281 | export dump the header and diffs for one or more changesets | |
279 | init create a new repository in the given directory |
|
282 | init create a new repository in the given directory | |
280 | log show revision history of entire repository or files |
|
283 | log show revision history of entire repository or files | |
|
284 | merge merge working directory with another revision | |||
281 | parents show the parents of the working dir or revision |
|
285 | parents show the parents of the working dir or revision | |
282 | pull pull changes from the specified source |
|
286 | pull pull changes from the specified source | |
283 | push push changes to the specified destination |
|
287 | push push changes to the specified destination | |
@@ -285,4 +289,4 b' basic commands (use "hg help" for the fu' | |||||
285 | revert revert files or dirs to their states as of some revision |
|
289 | revert revert files or dirs to their states as of some revision | |
286 | serve export the repository via HTTP |
|
290 | serve export the repository via HTTP | |
287 | status show changed files in the working directory |
|
291 | status show changed files in the working directory | |
288 |
update update |
|
292 | update update working directory |
@@ -13,6 +13,7 b' basic commands (use "hg help" for the fu' | |||||
13 | export dump the header and diffs for one or more changesets |
|
13 | export dump the header and diffs for one or more changesets | |
14 | init create a new repository in the given directory |
|
14 | init create a new repository in the given directory | |
15 | log show revision history of entire repository or files |
|
15 | log show revision history of entire repository or files | |
|
16 | merge merge working directory with another revision | |||
16 | parents show the parents of the working dir or revision |
|
17 | parents show the parents of the working dir or revision | |
17 | pull pull changes from the specified source |
|
18 | pull pull changes from the specified source | |
18 | push push changes to the specified destination |
|
19 | push push changes to the specified destination | |
@@ -20,7 +21,7 b' basic commands (use "hg help" for the fu' | |||||
20 | revert revert files or dirs to their states as of some revision |
|
21 | revert revert files or dirs to their states as of some revision | |
21 | serve export the repository via HTTP |
|
22 | serve export the repository via HTTP | |
22 | status show changed files in the working directory |
|
23 | status show changed files in the working directory | |
23 |
update update |
|
24 | update update working directory | |
24 | 0: a |
|
25 | 0: a | |
25 | % should succeed - up is an alias, not an abbreviation |
|
26 | % should succeed - up is an alias, not an abbreviation | |
26 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
27 | 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
General Comments 0
You need to be logged in to leave comments.
Login now