timeless at gmail.com
Wed Dec 2 00:44:26 CST 2009
On Wed, Dec 2, 2009 at 1:48 AM, Mark Hammond <mhammond at skippinet.com.au> wrote:
>> Right. You can do this by having the same precommit hooks that the
>> upstream repo has.
> But this doesn't allow the Windows developer to use their native line
> endings locally. I'd also go as far as to say it places an unnecessary and
> unfair burden on Windows developers when the tool should (and as we are
> seeing, can) help far more conveniently.
Err. I don't think that's a correct statement. The hook operates on
the changeset, not on your local working copy.
If the upstream repo has a hook which rejects everything and those
hooks are cloneable, then the linux/unix users can clone the hooks to
(and will eventually have to because someone will stop offering to
push changesets which the upstream repository rejects).
More information about the Mercurial-devel