Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 15044:39eb2e86fb11 stable
commands: clarify that 'hg heads foo' shows heads on branch foo
This is a FAQ: people try 'hg heads -r foo' and only see the tip-most
branch heads on foo.
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Thu, 18 Aug 2011 13:56:58 +0200 |
parents | 5e7f03cfeeb9 |
children | c019df62de45 19071b04c9c1 |
comparison
equal
deleted
inserted
replaced
15042:5e7f03cfeeb9 | 15044:39eb2e86fb11 |
---|---|
2516 where development generally takes place and are the usual targets | 2516 where development generally takes place and are the usual targets |
2517 for update and merge operations. Branch heads are changesets that have | 2517 for update and merge operations. Branch heads are changesets that have |
2518 no child changeset on the same branch. | 2518 no child changeset on the same branch. |
2519 | 2519 |
2520 If one or more REVs are given, only branch heads on the branches | 2520 If one or more REVs are given, only branch heads on the branches |
2521 associated with the specified changesets are shown. | 2521 associated with the specified changesets are shown. This means |
2522 that you can use :hg:`heads foo` to see the heads on a branch | |
2523 named ``foo``. | |
2522 | 2524 |
2523 If -c/--closed is specified, also show branch heads marked closed | 2525 If -c/--closed is specified, also show branch heads marked closed |
2524 (see :hg:`commit --close-branch`). | 2526 (see :hg:`commit --close-branch`). |
2525 | 2527 |
2526 If STARTREV is specified, only those heads that are descendants of | 2528 If STARTREV is specified, only those heads that are descendants of |