logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

hg heads - show branch heads

Description

       With  no  arguments, show all open branch heads in the repository.  Branch heads are changesets that have
       no descendants on the same branch. They are where development generally takes place  and  are  the  usual
       targets for update and merge operations.

       If  one  or  more  REVs  are  given, only open branch heads on the branches associated with the specified
       changesets are shown. This means that you  can  use  hgheads. to  see  the  heads  on  the  currently
       checked-out branch.

       If -c/--closed is specified, also show branch heads marked closed (see hgcommit--close-branch).

       If STARTREV is specified, only those heads that are descendants of STARTREV will be displayed.

       If  -t/--topo is specified, named branch mechanics will be ignored and only topological heads (changesets
       with no children) will be shown.

       Returns 0 if matching heads are found, 1 if not.

Name

       hg heads - show branch heads

Options

-r,--rev<STARTREV>
              show only heads which are descendants of STARTREV

       -t,--topo
              show topological heads only

       -a,--active
              show active branchheads only (DEPRECATED)

       -c,--closed
              show normal and closed branch heads

       --style<STYLE>
              display using template map file (DEPRECATED)

       -T,--template<TEMPLATE>
              display with template

                                                                                                       HG(HEADS)

Synopsis

       hg heads [-ct] [-r STARTREV] [REV]...

See Also