[Bug 4885] New: emplatekw: hide help of "branches" by DEPRECATED marker

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Oct 6 12:04:35 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4885

            Bug ID: 4885
           Summary: emplatekw: hide help of "branches" by
                    DEPRECATED      marker
           Product: Mercurial
           Version: default branch
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: blackbox
          Assignee: bugzilla at selenic.com
          Reporter: charlieloveeric3 at gmail.com
                CC: mercurial-devel at selenic.com

Message-ID:
        <CACsW8eE0FBQT_aYhBK8i6e7mftFqYbKMxA3_68yUSgS_U3CFOw at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

Pierre-Yves David wrote:
>> templatekw: hide help of "branches" by DEPRECATED marker
> Why are we deprecating it?

changeset:   ...:43e872a35f8a
parent:      ...:986d09e696ff
user:        Matt Mackall <mpm at selenic.com>
date:        Thu Nov 21 11:49:31 2013 -0600
files:       mercurial/templatekw.py
description:
help: drop help for branches template keyword

The {branches} keyword dates to pre-1.0 Mercurial's tag-like branch
scheme which allowed changesets to be on multiple branches. This is
the last visible vestige of that scheme, users should instead be using
{branch}, possibly with if().

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list