[PATCH 05 of 11] templatekw: introduce obsfate keyword

Boris Feld boris.feld at octobus.net
Tue Oct 10 02:32:23 EDT 2017


On Tue, 2017-10-10 at 02:41 +0530, Pulkit Goyal wrote:
> On Tue, Oct 10, 2017 at 12:10 AM, Boris Feld <boris.feld at octobus.net>
> wrote:
> > # HG changeset patch
> > # User Boris Feld <boris.feld at octobus.net>
> > # Date 1507218176 -7200
> > #      Thu Oct 05 17:42:56 2017 +0200
> > # Node ID c60eccc28286bdb8f962b75b7dab0fa87c6abb7d
> > # Parent  5657c12f1f9ef4190f390a50194d5e614e67b8c8
> > # EXP-Topic obsfatekeyword
> > # Available At https://bitbucket.org/octobus/mercurial-devel/
> > #              hg pull https://bitbucket.org/octobus/mercurial-deve
> > l/ -r c60eccc28286
> > templatekw: introduce obsfate keyword
> > 
> > Introduce an obsfate printer that uses all helpers functions
> > defined in
> > obsutil to get all the obsfate-related data and format a string
> > according to
> > the current format in test-obsmarker-template.t.
> > 
> > Then, introduce an obsfate templatekw that uses the obsfateprinter
> > to return a
> > list of strings.
> > 
> > The goal is not to replace existing obsfate template functions but
> > to propose
> > a default, good-enough and easily usable obsfate definition for
> > end-users that
> > don't want to customize it. Such output would ultimately get
> > included in the
> > default log output.
> > 
> > Here are some output examples for a commit amended by current user
> > and test2:
> > 
> > rewritten using amend as 3:d004c8f274b9 by test2
> 
> This example seems wrong to me. The current user and test2 both
> amended the commit, but it tells about the amend by test2 user only.
> Is it intended?

No you are right, it's a mistake. I did split this commit and redesign
the obsfate user part, I will fix it.


More information about the Mercurial-devel mailing list