[PATCH 07 of 11] [RFC] Add support for environment variable HG_TRUSTED_USERS
Matt Mackall
mpm at selenic.com
Mon Jun 25 10:04:58 CDT 2007
On Mon, Jun 25, 2007 at 02:50:44PM +0200, Markus F.X.J. Oberhumer wrote:
> # HG changeset patch
> # User Markus F.X.J. Oberhumer <markus at oberhumer.com>
> # Date 1182775580 -7200
> # Node ID da57c9e729038e4e10db387905f39c180210b869
> # Parent 627752dddfa1b3d83363f9153b463034c3041ea5
> [RFC] Add support for environment variable HG_TRUSTED_USERS.
>
> Info: this is needed when using ssh shell access on sourceforge.net,
> otherwise project group members will not trust some hgrc settings.
>
> The remote "hg-team" shell script we use on sourceforge.net looks
> like this:
>
> #! /bin/sh
> umask 002
> # trust all users of our project group
> HG_TRUSTED_USERS="user1,user2,user3"
> export HG_TRUSTED_USERS
> exec /PATH_TO_REAL_HG/hg ${1+"$@"}
>
> And the local .hg/hgrc looks like this:
>
> [ui]
> remotecmd = /PATH_TO_HG_TEAM_ON_SOURCEFORGE_NET/hg-team
Wouldn't it be better to add something like:
[trusted]
groups = myproject
to ~/.hgrc on SF?
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list