This is an archive of the discontinued Mercurial Phabricator instance.

logtoprocess: add an option to parse script command
AbandonedPublic

Authored by lothiraldan on Nov 28 2017, 3:36 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

With shell=False, the logtoprocess script will not be parsed by a shell and
we won't be able to pass arguments in logtoprocess configuration. Add a new
option logtoprocess.parsescript that calls shlex.split on the script so we
can pass arguments. As shlex.split is only designed for POSIX system, this
option have no impact on Windows.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

lothiraldan created this revision.Nov 28 2017, 3:36 PM
lothiraldan abandoned this revision.Jun 19 2019, 2:31 AM