##// END OF EJS Templates
heads: modernize documentation (issue3992)...
Matt Mackall -
r19469:bf6bc468 stable
parent child Browse files
Show More
@@ -3320,19 +3320,17 b' def grep(ui, repo, pattern, *pats, **opt'
3320 3320 ] + templateopts,
3321 3321 _('[-ct] [-r STARTREV] [REV]...'))
3322 3322 def heads(ui, repo, *branchrevs, **opts):
3323 """show current repository heads or show branch heads
3324
3325 With no arguments, show all repository branch heads.
3326
3327 Repository "heads" are changesets with no child changesets. They are
3328 where development generally takes place and are the usual targets
3329 for update and merge operations. Branch heads are changesets that have
3330 no child changeset on the same branch.
3331
3332 If one or more REVs are given, only branch heads on the branches
3333 associated with the specified changesets are shown. This means
3334 that you can use :hg:`heads foo` to see the heads on a branch
3335 named ``foo``.
3323 """show branch heads
3324
3325 With no arguments, show all open branch heads in the repository.
3326 Branch heads are changesets that have no child changesets on the
3327 same branch. They are where development generally takes place and
3328 are the usual targets for update and merge operations.
3329
3330 If one or more REVs are given, only open branch heads on the
3331 branches associated with the specified changesets are shown. This
3332 means that you can use :hg:`heads .` to see the heads on the
3333 currently checked-out branch.
3336 3334
3337 3335 If -c/--closed is specified, also show branch heads marked closed
3338 3336 (see :hg:`commit --close-branch`).
@@ -3341,7 +3339,7 b' def heads(ui, repo, *branchrevs, **opts)'
3341 3339 STARTREV will be displayed.
3342 3340
3343 3341 If -t/--topo is specified, named branch mechanics will be ignored and only
3344 changesets without children will be shown.
3342 topological heads (changesets with no children) will be shown.
3345 3343
3346 3344 Returns 0 if matching heads are found, 1 if not.
3347 3345 """
@@ -303,7 +303,7 b' Testing -h/--help:'
303 303 forget forget the specified files on the next commit
304 304 graft copy changes from other branches onto the current branch
305 305 grep search for a pattern in specified files and revisions
306 heads show current repository heads or show branch heads
306 heads show branch heads
307 307 help show help for a given topic or a help overview
308 308 identify identify the working copy or specified revision
309 309 import import an ordered set of patches
@@ -385,7 +385,7 b' Testing -h/--help:'
385 385 forget forget the specified files on the next commit
386 386 graft copy changes from other branches onto the current branch
387 387 grep search for a pattern in specified files and revisions
388 heads show current repository heads or show branch heads
388 heads show branch heads
389 389 help show help for a given topic or a help overview
390 390 identify identify the working copy or specified revision
391 391 import import an ordered set of patches
@@ -68,7 +68,7 b' Short help:'
68 68 forget forget the specified files on the next commit
69 69 graft copy changes from other branches onto the current branch
70 70 grep search for a pattern in specified files and revisions
71 heads show current repository heads or show branch heads
71 heads show branch heads
72 72 help show help for a given topic or a help overview
73 73 identify identify the working copy or specified revision
74 74 import import an ordered set of patches
@@ -144,7 +144,7 b' Short help:'
144 144 forget forget the specified files on the next commit
145 145 graft copy changes from other branches onto the current branch
146 146 grep search for a pattern in specified files and revisions
147 heads show current repository heads or show branch heads
147 heads show branch heads
148 148 help show help for a given topic or a help overview
149 149 identify identify the working copy or specified revision
150 150 import import an ordered set of patches
@@ -629,7 +629,7 b' Test that default list of commands omits'
629 629 forget forget the specified files on the next commit
630 630 graft copy changes from other branches onto the current branch
631 631 grep search for a pattern in specified files and revisions
632 heads show current repository heads or show branch heads
632 heads show branch heads
633 633 help show help for a given topic or a help overview
634 634 identify identify the working copy or specified revision
635 635 import import an ordered set of patches
@@ -1276,7 +1276,7 b' Dish up an empty repo; serve it cold.'
1276 1276 heads
1277 1277 </a>
1278 1278 </td><td>
1279 show current repository heads or show branch heads
1279 show branch heads
1280 1280 </td></tr>
1281 1281 <tr><td>
1282 1282 <a href="/help/help">
General Comments 0
You need to be logged in to leave comments. Login now