Alan Burlison <Alan.Burlison at sun.com> writes: > Richard Lowe wrote: > >>> And if someone >>> does a merge, aren't they the author of the resulting merge? >> >> They are the author of the merge, but they are still transferring N >> other changesets (the bits they merged in), the majority of which they >> will not be the author of. > > What do the Hg hooks 'see' as the userid?
They run in-process on the destination machine. They can see the 'author' information recorded in the changeset (which can be set by the user), the real username on the hosting (assuming it's in the environment), and they can seemingly talk to the DB (since mail notification does). -- Rich