How to set phases.publish = false on a repo or globally on Kallithea?

Sean Farley sean at farley.io
Tue Mar 21 22:34:43 UTC 2017


Long Vu <long.vu at intelerad.com> writes:

> Hi,
>
> I have 0.3.2.
>
> I've been doing this for each new repo creation, when needed, by
> editing directly the .hg/hgrc of the repo (by going behind Kallithea's
> back).
>
> But I'd like to delegate this to the user creating new repos because
> we are rolling this out to more and more early adopters/evaluators
> now.  I do not want to be the bottle neck.
>
> Alternatively, how to set this globally as a default value for all new
> and existing repos?

I think the easiest way to do this for Mercurial is to implement what I
did for Bitbucket by putting the config into the database. Once in the
database, all Kallithea would need to do is use this extension and set
an environment variable:

https://bitbucket.org/seanfarley/hgenvconfig


More information about the kallithea-general mailing list