3 $ hg |
3 $ hg |
4 Mercurial Distributed SCM |
4 Mercurial Distributed SCM |
5 |
5 |
6 basic commands: |
6 basic commands: |
7 |
7 |
8 add add the specified files on the next commit |
8 add add the specified files on the next commit |
9 annotate show changeset information by line for each file |
9 annotate show changeset information by line for each file |
10 clone make a copy of an existing repository |
10 clone make a copy of an existing repository |
11 commit commit the specified files or all outstanding changes |
11 commit commit the specified files or all outstanding changes |
12 diff diff repository (or selected files) |
12 diff diff repository (or selected files) |
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 forget forget the specified files on the next commit |
14 forget forget the specified files on the next commit |
15 init create a new repository in the given directory |
15 init create a new repository in the given directory |
16 log show revision history of entire repository or files |
16 log show revision history of entire repository or files |
17 merge merge working directory with another revision |
17 merge merge working directory with another revision |
18 phase set or show the current phase name |
18 phase set or show the current phase name |
19 pull pull changes from the specified source |
19 pull pull changes from the specified source |
20 push push changes to the specified destination |
20 push push changes to the specified destination |
21 remove remove the specified files on the next commit |
21 remove remove the specified files on the next commit |
22 serve start stand-alone webserver |
22 serve start stand-alone webserver |
23 status show changed files in the working directory |
23 status show changed files in the working directory |
24 summary summarize working directory state |
24 summary summarize working directory state |
25 update update working directory (or switch revisions) |
25 update update working directory (or switch revisions) |
26 |
26 |
27 use "hg help" for the full list of commands or "hg -v" for details |
27 use "hg help" for the full list of commands or "hg -v" for details |
28 |
28 |
29 $ hg -q |
29 $ hg -q |
30 add add the specified files on the next commit |
30 add add the specified files on the next commit |
31 annotate show changeset information by line for each file |
31 annotate show changeset information by line for each file |
32 clone make a copy of an existing repository |
32 clone make a copy of an existing repository |
33 commit commit the specified files or all outstanding changes |
33 commit commit the specified files or all outstanding changes |
34 diff diff repository (or selected files) |
34 diff diff repository (or selected files) |
35 export dump the header and diffs for one or more changesets |
35 export dump the header and diffs for one or more changesets |
36 forget forget the specified files on the next commit |
36 forget forget the specified files on the next commit |
37 init create a new repository in the given directory |
37 init create a new repository in the given directory |
38 log show revision history of entire repository or files |
38 log show revision history of entire repository or files |
39 merge merge working directory with another revision |
39 merge merge working directory with another revision |
40 phase set or show the current phase name |
40 phase set or show the current phase name |
41 pull pull changes from the specified source |
41 pull pull changes from the specified source |
42 push push changes to the specified destination |
42 push push changes to the specified destination |
43 remove remove the specified files on the next commit |
43 remove remove the specified files on the next commit |
44 serve start stand-alone webserver |
44 serve start stand-alone webserver |
45 status show changed files in the working directory |
45 status show changed files in the working directory |
46 summary summarize working directory state |
46 summary summarize working directory state |
47 update update working directory (or switch revisions) |
47 update update working directory (or switch revisions) |
48 |
48 |
49 $ hg help |
49 $ hg help |
50 Mercurial Distributed SCM |
50 Mercurial Distributed SCM |
51 |
51 |
52 list of commands: |
52 list of commands: |
53 |
53 |
54 add add the specified files on the next commit |
54 add add the specified files on the next commit |
55 addremove add all new files, delete all missing files |
55 addremove add all new files, delete all missing files |
56 annotate show changeset information by line for each file |
56 annotate show changeset information by line for each file |
57 archive create an unversioned archive of a repository revision |
57 archive create an unversioned archive of a repository revision |
58 backout reverse effect of earlier changeset |
58 backout reverse effect of earlier changeset |
59 bisect subdivision search of changesets |
59 bisect subdivision search of changesets |
60 bookmarks track a line of development with movable markers |
60 bookmarks track a line of development with movable markers |
61 branch set or show the current branch name |
61 branch set or show the current branch name |
62 branches list repository named branches |
62 branches list repository named branches |
63 bundle create a changegroup file |
63 bundle create a changegroup file |
64 cat output the current or given revision of files |
64 cat output the current or given revision of files |
65 clone make a copy of an existing repository |
65 clone make a copy of an existing repository |
66 commit commit the specified files or all outstanding changes |
66 commit commit the specified files or all outstanding changes |
67 copy mark files as copied for the next commit |
67 copy mark files as copied for the next commit |
68 diff diff repository (or selected files) |
68 diff diff repository (or selected files) |
69 export dump the header and diffs for one or more changesets |
69 export dump the header and diffs for one or more changesets |
70 forget forget the specified files on the next commit |
70 forget forget the specified files on the next commit |
71 graft copy changes from other branches onto the current branch |
71 graft copy changes from other branches onto the current branch |
72 grep search for a pattern in specified files and revisions |
72 grep search for a pattern in specified files and revisions |
73 heads show current repository heads or show branch heads |
73 heads show current repository heads or show branch heads |
74 help show help for a given topic or a help overview |
74 help show help for a given topic or a help overview |
75 identify identify the working copy or specified revision |
75 identify identify the working copy or specified revision |
76 import import an ordered set of patches |
76 import import an ordered set of patches |
77 incoming show new changesets found in source |
77 incoming show new changesets found in source |
78 init create a new repository in the given directory |
78 init create a new repository in the given directory |
79 locate locate files matching specific patterns |
79 locate locate files matching specific patterns |
80 log show revision history of entire repository or files |
80 log show revision history of entire repository or files |
81 manifest output the current or given revision of the project manifest |
81 manifest output the current or given revision of the project manifest |
82 merge merge working directory with another revision |
82 merge merge working directory with another revision |
83 outgoing show changesets not found in the destination |
83 outgoing show changesets not found in the destination |
84 parents show the parents of the working directory or revision |
84 parents show the parents of the working directory or revision |
85 paths show aliases for remote repositories |
85 paths show aliases for remote repositories |
86 phase set or show the current phase name |
86 phase set or show the current phase name |
87 pull pull changes from the specified source |
87 pull pull changes from the specified source |
88 push push changes to the specified destination |
88 push push changes to the specified destination |
89 recover roll back an interrupted transaction |
89 recover roll back an interrupted transaction |
90 remove remove the specified files on the next commit |
90 remove remove the specified files on the next commit |
91 rename rename files; equivalent of copy + remove |
91 rename rename files; equivalent of copy + remove |
92 resolve redo merges or set/view the merge status of files |
92 resolve redo merges or set/view the merge status of files |
93 revert restore files to their checkout state |
93 revert restore files to their checkout state |
94 rollback roll back the last transaction (dangerous) |
94 rollback roll back the last transaction (dangerous) |
95 root print the root (top) of the current working directory |
95 root print the root (top) of the current working directory |
96 serve start stand-alone webserver |
96 serve start stand-alone webserver |
97 showconfig show combined config settings from all hgrc files |
97 showconfig show combined config settings from all hgrc files |
98 status show changed files in the working directory |
98 status show changed files in the working directory |
99 summary summarize working directory state |
99 summary summarize working directory state |
100 tag add one or more tags for the current or given revision |
100 tag add one or more tags for the current or given revision |
101 tags list repository tags |
101 tags list repository tags |
102 tip show the tip revision |
102 tip show the tip revision |
103 unbundle apply one or more changegroup files |
103 unbundle apply one or more changegroup files |
104 update update working directory (or switch revisions) |
104 update update working directory (or switch revisions) |
105 verify verify the integrity of the repository |
105 verify verify the integrity of the repository |
106 version output version and copyright information |
106 version output version and copyright information |
107 |
107 |
108 additional help topics: |
108 additional help topics: |
109 |
109 |
110 config Configuration Files |
110 config Configuration Files |
111 dates Date Formats |
111 dates Date Formats |
112 diffs Diff Formats |
112 diffs Diff Formats |
113 environment Environment Variables |
113 environment Environment Variables |
114 extensions Using additional features |
114 extensions Using additional features |
115 filesets Specifying File Sets |
115 filesets Specifying File Sets |
116 glossary Glossary |
116 glossary Glossary |
117 hgignore syntax for Mercurial ignore files |
117 hgignore syntax for Mercurial ignore files |
118 hgweb Configuring hgweb |
118 hgweb Configuring hgweb |
119 merge-tools Merge Tools |
119 merge-tools Merge Tools |
120 multirevs Specifying Multiple Revisions |
120 multirevs Specifying Multiple Revisions |
121 patterns File Name Patterns |
121 patterns File Name Patterns |
122 revisions Specifying Single Revisions |
122 revisions Specifying Single Revisions |
123 revsets Specifying Revision Sets |
123 revsets Specifying Revision Sets |
124 subrepos Subrepositories |
124 subrepos Subrepositories |
125 templating Template Usage |
125 templating Template Usage |
126 urls URL Paths |
126 urls URL Paths |
127 |
127 |
128 use "hg -v help" to show builtin aliases and global options |
128 use "hg -v help" to show builtin aliases and global options |
129 |
129 |
130 $ hg -q help |
130 $ hg -q help |
131 add add the specified files on the next commit |
131 add add the specified files on the next commit |
132 addremove add all new files, delete all missing files |
132 addremove add all new files, delete all missing files |
133 annotate show changeset information by line for each file |
133 annotate show changeset information by line for each file |
134 archive create an unversioned archive of a repository revision |
134 archive create an unversioned archive of a repository revision |
135 backout reverse effect of earlier changeset |
135 backout reverse effect of earlier changeset |
136 bisect subdivision search of changesets |
136 bisect subdivision search of changesets |
137 bookmarks track a line of development with movable markers |
137 bookmarks track a line of development with movable markers |
138 branch set or show the current branch name |
138 branch set or show the current branch name |
139 branches list repository named branches |
139 branches list repository named branches |
140 bundle create a changegroup file |
140 bundle create a changegroup file |
141 cat output the current or given revision of files |
141 cat output the current or given revision of files |
142 clone make a copy of an existing repository |
142 clone make a copy of an existing repository |
143 commit commit the specified files or all outstanding changes |
143 commit commit the specified files or all outstanding changes |
144 copy mark files as copied for the next commit |
144 copy mark files as copied for the next commit |
145 diff diff repository (or selected files) |
145 diff diff repository (or selected files) |
146 export dump the header and diffs for one or more changesets |
146 export dump the header and diffs for one or more changesets |
147 forget forget the specified files on the next commit |
147 forget forget the specified files on the next commit |
148 graft copy changes from other branches onto the current branch |
148 graft copy changes from other branches onto the current branch |
149 grep search for a pattern in specified files and revisions |
149 grep search for a pattern in specified files and revisions |
150 heads show current repository heads or show branch heads |
150 heads show current repository heads or show branch heads |
151 help show help for a given topic or a help overview |
151 help show help for a given topic or a help overview |
152 identify identify the working copy or specified revision |
152 identify identify the working copy or specified revision |
153 import import an ordered set of patches |
153 import import an ordered set of patches |
154 incoming show new changesets found in source |
154 incoming show new changesets found in source |
155 init create a new repository in the given directory |
155 init create a new repository in the given directory |
156 locate locate files matching specific patterns |
156 locate locate files matching specific patterns |
157 log show revision history of entire repository or files |
157 log show revision history of entire repository or files |
158 manifest output the current or given revision of the project manifest |
158 manifest output the current or given revision of the project manifest |
159 merge merge working directory with another revision |
159 merge merge working directory with another revision |
160 outgoing show changesets not found in the destination |
160 outgoing show changesets not found in the destination |
161 parents show the parents of the working directory or revision |
161 parents show the parents of the working directory or revision |
162 paths show aliases for remote repositories |
162 paths show aliases for remote repositories |
163 phase set or show the current phase name |
163 phase set or show the current phase name |
164 pull pull changes from the specified source |
164 pull pull changes from the specified source |
165 push push changes to the specified destination |
165 push push changes to the specified destination |
166 recover roll back an interrupted transaction |
166 recover roll back an interrupted transaction |
167 remove remove the specified files on the next commit |
167 remove remove the specified files on the next commit |
168 rename rename files; equivalent of copy + remove |
168 rename rename files; equivalent of copy + remove |
169 resolve redo merges or set/view the merge status of files |
169 resolve redo merges or set/view the merge status of files |
170 revert restore files to their checkout state |
170 revert restore files to their checkout state |
171 rollback roll back the last transaction (dangerous) |
171 rollback roll back the last transaction (dangerous) |
172 root print the root (top) of the current working directory |
172 root print the root (top) of the current working directory |
173 serve start stand-alone webserver |
173 serve start stand-alone webserver |
174 showconfig show combined config settings from all hgrc files |
174 showconfig show combined config settings from all hgrc files |
175 status show changed files in the working directory |
175 status show changed files in the working directory |
176 summary summarize working directory state |
176 summary summarize working directory state |
177 tag add one or more tags for the current or given revision |
177 tag add one or more tags for the current or given revision |
178 tags list repository tags |
178 tags list repository tags |
179 tip show the tip revision |
179 tip show the tip revision |
180 unbundle apply one or more changegroup files |
180 unbundle apply one or more changegroup files |
181 update update working directory (or switch revisions) |
181 update update working directory (or switch revisions) |
182 verify verify the integrity of the repository |
182 verify verify the integrity of the repository |
183 version output version and copyright information |
183 version output version and copyright information |
184 |
184 |
185 additional help topics: |
185 additional help topics: |
186 |
186 |
187 config Configuration Files |
187 config Configuration Files |
188 dates Date Formats |
188 dates Date Formats |
189 diffs Diff Formats |
189 diffs Diff Formats |
190 environment Environment Variables |
190 environment Environment Variables |
191 extensions Using additional features |
191 extensions Using additional features |
192 filesets Specifying File Sets |
192 filesets Specifying File Sets |
193 glossary Glossary |
193 glossary Glossary |
194 hgignore syntax for Mercurial ignore files |
194 hgignore syntax for Mercurial ignore files |
195 hgweb Configuring hgweb |
195 hgweb Configuring hgweb |
196 merge-tools Merge Tools |
196 merge-tools Merge Tools |
197 multirevs Specifying Multiple Revisions |
197 multirevs Specifying Multiple Revisions |
198 patterns File Name Patterns |
198 patterns File Name Patterns |
199 revisions Specifying Single Revisions |
199 revisions Specifying Single Revisions |
200 revsets Specifying Revision Sets |
200 revsets Specifying Revision Sets |
201 subrepos Subrepositories |
201 subrepos Subrepositories |
202 templating Template Usage |
202 templating Template Usage |
203 urls URL Paths |
203 urls URL Paths |
204 |
204 |
205 Test short command list with verbose option |
205 Test short command list with verbose option |
206 |
206 |
207 $ hg -v help shortlist |
207 $ hg -v help shortlist |
208 Mercurial Distributed SCM |
208 Mercurial Distributed SCM |
535 hg: unknown command 'foo' |
535 hg: unknown command 'foo' |
536 Mercurial Distributed SCM |
536 Mercurial Distributed SCM |
537 |
537 |
538 basic commands: |
538 basic commands: |
539 |
539 |
540 add add the specified files on the next commit |
540 add add the specified files on the next commit |
541 annotate show changeset information by line for each file |
541 annotate show changeset information by line for each file |
542 clone make a copy of an existing repository |
542 clone make a copy of an existing repository |
543 commit commit the specified files or all outstanding changes |
543 commit commit the specified files or all outstanding changes |
544 diff diff repository (or selected files) |
544 diff diff repository (or selected files) |
545 export dump the header and diffs for one or more changesets |
545 export dump the header and diffs for one or more changesets |
546 forget forget the specified files on the next commit |
546 forget forget the specified files on the next commit |
547 init create a new repository in the given directory |
547 init create a new repository in the given directory |
548 log show revision history of entire repository or files |
548 log show revision history of entire repository or files |
549 merge merge working directory with another revision |
549 merge merge working directory with another revision |
550 phase set or show the current phase name |
550 phase set or show the current phase name |
551 pull pull changes from the specified source |
551 pull pull changes from the specified source |
552 push push changes to the specified destination |
552 push push changes to the specified destination |
553 remove remove the specified files on the next commit |
553 remove remove the specified files on the next commit |
554 serve start stand-alone webserver |
554 serve start stand-alone webserver |
555 status show changed files in the working directory |
555 status show changed files in the working directory |
556 summary summarize working directory state |
556 summary summarize working directory state |
557 update update working directory (or switch revisions) |
557 update update working directory (or switch revisions) |
558 |
558 |
559 use "hg help" for the full list of commands or "hg -v" for details |
559 use "hg help" for the full list of commands or "hg -v" for details |
560 [255] |
560 [255] |
561 |
561 |
562 $ hg skjdfks |
562 $ hg skjdfks |
563 hg: unknown command 'skjdfks' |
563 hg: unknown command 'skjdfks' |
564 Mercurial Distributed SCM |
564 Mercurial Distributed SCM |
565 |
565 |
566 basic commands: |
566 basic commands: |
567 |
567 |
568 add add the specified files on the next commit |
568 add add the specified files on the next commit |
569 annotate show changeset information by line for each file |
569 annotate show changeset information by line for each file |
570 clone make a copy of an existing repository |
570 clone make a copy of an existing repository |
571 commit commit the specified files or all outstanding changes |
571 commit commit the specified files or all outstanding changes |
572 diff diff repository (or selected files) |
572 diff diff repository (or selected files) |
573 export dump the header and diffs for one or more changesets |
573 export dump the header and diffs for one or more changesets |
574 forget forget the specified files on the next commit |
574 forget forget the specified files on the next commit |
575 init create a new repository in the given directory |
575 init create a new repository in the given directory |
576 log show revision history of entire repository or files |
576 log show revision history of entire repository or files |
577 merge merge working directory with another revision |
577 merge merge working directory with another revision |
578 phase set or show the current phase name |
578 phase set or show the current phase name |
579 pull pull changes from the specified source |
579 pull pull changes from the specified source |
580 push push changes to the specified destination |
580 push push changes to the specified destination |
581 remove remove the specified files on the next commit |
581 remove remove the specified files on the next commit |
582 serve start stand-alone webserver |
582 serve start stand-alone webserver |
583 status show changed files in the working directory |
583 status show changed files in the working directory |
584 summary summarize working directory state |
584 summary summarize working directory state |
585 update update working directory (or switch revisions) |
585 update update working directory (or switch revisions) |
586 |
586 |
587 use "hg help" for the full list of commands or "hg -v" for details |
587 use "hg help" for the full list of commands or "hg -v" for details |
588 [255] |
588 [255] |
589 |
589 |
590 $ cat > helpext.py <<EOF |
590 $ cat > helpext.py <<EOF |
617 $ hg help |
617 $ hg help |
618 Mercurial Distributed SCM |
618 Mercurial Distributed SCM |
619 |
619 |
620 list of commands: |
620 list of commands: |
621 |
621 |
622 add add the specified files on the next commit |
622 add add the specified files on the next commit |
623 addremove add all new files, delete all missing files |
623 addremove add all new files, delete all missing files |
624 annotate show changeset information by line for each file |
624 annotate show changeset information by line for each file |
625 archive create an unversioned archive of a repository revision |
625 archive create an unversioned archive of a repository revision |
626 backout reverse effect of earlier changeset |
626 backout reverse effect of earlier changeset |
627 bisect subdivision search of changesets |
627 bisect subdivision search of changesets |
628 bookmarks track a line of development with movable markers |
628 bookmarks track a line of development with movable markers |
629 branch set or show the current branch name |
629 branch set or show the current branch name |
630 branches list repository named branches |
630 branches list repository named branches |
631 bundle create a changegroup file |
631 bundle create a changegroup file |
632 cat output the current or given revision of files |
632 cat output the current or given revision of files |
633 clone make a copy of an existing repository |
633 clone make a copy of an existing repository |
634 commit commit the specified files or all outstanding changes |
634 commit commit the specified files or all outstanding changes |
635 copy mark files as copied for the next commit |
635 copy mark files as copied for the next commit |
636 diff diff repository (or selected files) |
636 diff diff repository (or selected files) |
637 export dump the header and diffs for one or more changesets |
637 export dump the header and diffs for one or more changesets |
638 forget forget the specified files on the next commit |
638 forget forget the specified files on the next commit |
639 graft copy changes from other branches onto the current branch |
639 graft copy changes from other branches onto the current branch |
640 grep search for a pattern in specified files and revisions |
640 grep search for a pattern in specified files and revisions |
641 heads show current repository heads or show branch heads |
641 heads show current repository heads or show branch heads |
642 help show help for a given topic or a help overview |
642 help show help for a given topic or a help overview |
643 identify identify the working copy or specified revision |
643 identify identify the working copy or specified revision |
644 import import an ordered set of patches |
644 import import an ordered set of patches |
645 incoming show new changesets found in source |
645 incoming show new changesets found in source |
646 init create a new repository in the given directory |
646 init create a new repository in the given directory |
647 locate locate files matching specific patterns |
647 locate locate files matching specific patterns |
648 log show revision history of entire repository or files |
648 log show revision history of entire repository or files |
649 manifest output the current or given revision of the project manifest |
649 manifest output the current or given revision of the project manifest |
650 merge merge working directory with another revision |
650 merge merge working directory with another revision |
651 outgoing show changesets not found in the destination |
651 outgoing show changesets not found in the destination |
652 parents show the parents of the working directory or revision |
652 parents show the parents of the working directory or revision |
653 paths show aliases for remote repositories |
653 paths show aliases for remote repositories |
654 phase set or show the current phase name |
654 phase set or show the current phase name |
655 pull pull changes from the specified source |
655 pull pull changes from the specified source |
656 push push changes to the specified destination |
656 push push changes to the specified destination |
657 recover roll back an interrupted transaction |
657 recover roll back an interrupted transaction |
658 remove remove the specified files on the next commit |
658 remove remove the specified files on the next commit |
659 rename rename files; equivalent of copy + remove |
659 rename rename files; equivalent of copy + remove |
660 resolve redo merges or set/view the merge status of files |
660 resolve redo merges or set/view the merge status of files |
661 revert restore files to their checkout state |
661 revert restore files to their checkout state |
662 rollback roll back the last transaction (dangerous) |
662 rollback roll back the last transaction (dangerous) |
663 root print the root (top) of the current working directory |
663 root print the root (top) of the current working directory |
664 serve start stand-alone webserver |
664 serve start stand-alone webserver |
665 showconfig show combined config settings from all hgrc files |
665 showconfig show combined config settings from all hgrc files |
666 status show changed files in the working directory |
666 status show changed files in the working directory |
667 summary summarize working directory state |
667 summary summarize working directory state |
668 tag add one or more tags for the current or given revision |
668 tag add one or more tags for the current or given revision |
669 tags list repository tags |
669 tags list repository tags |
670 tip show the tip revision |
670 tip show the tip revision |
671 unbundle apply one or more changegroup files |
671 unbundle apply one or more changegroup files |
672 update update working directory (or switch revisions) |
672 update update working directory (or switch revisions) |
673 verify verify the integrity of the repository |
673 verify verify the integrity of the repository |
674 version output version and copyright information |
674 version output version and copyright information |
675 |
675 |
676 enabled extensions: |
676 enabled extensions: |
677 |
677 |
678 helpext (no help text available) |
678 helpext (no help text available) |
679 |
679 |
680 additional help topics: |
680 additional help topics: |
681 |
681 |
682 config Configuration Files |
682 config Configuration Files |
683 dates Date Formats |
683 dates Date Formats |
684 diffs Diff Formats |
684 diffs Diff Formats |
685 environment Environment Variables |
685 environment Environment Variables |
686 extensions Using additional features |
686 extensions Using additional features |
687 filesets Specifying File Sets |
687 filesets Specifying File Sets |
688 glossary Glossary |
688 glossary Glossary |
689 hgignore syntax for Mercurial ignore files |
689 hgignore syntax for Mercurial ignore files |
690 hgweb Configuring hgweb |
690 hgweb Configuring hgweb |
691 merge-tools Merge Tools |
691 merge-tools Merge Tools |
692 multirevs Specifying Multiple Revisions |
692 multirevs Specifying Multiple Revisions |
693 patterns File Name Patterns |
693 patterns File Name Patterns |
694 revisions Specifying Single Revisions |
694 revisions Specifying Single Revisions |
695 revsets Specifying Revision Sets |
695 revsets Specifying Revision Sets |
696 subrepos Subrepositories |
696 subrepos Subrepositories |
697 templating Template Usage |
697 templating Template Usage |
698 urls URL Paths |
698 urls URL Paths |
699 |
699 |
700 use "hg -v help" to show builtin aliases and global options |
700 use "hg -v help" to show builtin aliases and global options |
701 |
701 |
702 |
702 |
703 |
703 |