[issue292] provide repo providing changes for prechangegroup hook

John Levon mercurial-bugs at selenic.com
Tue Jun 20 19:13:32 CDT 2006


New submission from John Levon <levon at movementarian.org>:

Currently there is no HG_* value for the repository that changes
are coming from for the "prechangegroup" hook. (Presumably it would
be blank for 'unbundle'.)

We need this as we have:

/repos/foo-gate/
/repos/foo-clone/

Where you're supposed to pull changes from foo-clone, and push to foo-gate.

foo-clone should never be changed, and we need to prevent people accidentally
pushing to it.

As it happens, the whole gate/clone idea is somewhat suspect under Mercurial
(its heritage is Teamware), but nonetheless this seems like a generally useful
value to be able to provide.

----------
messages: 1558
nosy: movement
priority: feature
status: unread
title: provide repo providing changes for prechangegroup hook

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue292>
____________________________________________________



More information about the Mercurial mailing list