[PATCH] buildrpm: do not break when hg log is an alias
Kevin Bullock
kbullock+mercurial at ringworld.org
Thu Aug 3 17:54:27 EDT 2017
> On Aug 3, 2017, at 16:41, a.mux--- via Mercurial-devel <mercurial-devel at mercurial-scm.org> wrote:
>
> # HG changeset patch
> # User muxator <a.mux at inwind.it>
> # Date 1501762748 -7200
> # Thu Aug 03 14:19:08 2017 +0200
> # Branch stable
> # Node ID 413a0de052390c2fa49cf2b98b6a6c7a3fe74546
> # Parent 524b13fc711f76343557f054d2a11678ef83f8c8
> buildrpm: do not break when hg log is an alias
>
> If "hg log" is defined as an alias, for example:
>
> # /etc/mercurial/hgrc
> [alias]
> log = log --graph
>
> the rpm build script breaks while trying to parse log messages formatted
> in unexpected ways.
> This patch resets the log output to its default.
buildrpm should probably set HGPLAIN instead (see `hg help environment`).
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
More information about the Mercurial-devel
mailing list