On Thu, 13 Oct 2016 15:38:02 +0200, Marcus Harnisch wrote:
> For my rudimentary Hg-over-Clearcase workflow, I would like to limit
> certain actions (e.g. ci, diff) to a subset of all Hg controlled files.
> Ideally I'd like to see something like shell(<cmd>[; <cmd>]...), which adds
> a file to the set if the command pipeline returns 0. Besides the filename,
> other parameters might be passed as positional parameters to the command
> pipeline.

We have patches which will allow us to load revsets or templates from external
sources. Filesets will have a slightly different story, but maybe this
function can be extended to filesets.

> Currently there is an exec() prerequisite. Should we perhaps have similar
> prerequisites for other permissions? Or perhaps a generic perm()
> prerequisite that uses a syntax similar to the find(1) option of the same
> name?

Mercurial only cares for exec bit, so I don't think a generic perm() function
is a good idea.
Mercurial mailing list

Reply via email to