On Wed, Jan 2, 2019 at 11:02 PM Arne Babenhauserheide <[email protected]> wrote: > > > anatoly techtonik <[email protected]> writes: > > Looks like the only option is placing scripts in some newly created > > `~/.hghooks/` > > dir and reference that script explicitly in `.hgrc`. It is kind of > > hard to automate this > > system setup with just `dotfiles` checkout. > > For automation it should suffice to use > > echo '[hooks] > post-clone.something = ~/.hghooks/post-clone > ' >> ~/.hgrc
No idempotency in this case. What happens if `[hooks]` would be specified several times? Will key/values be merged? Or are they replaced by the new block? -- anatoly t. _______________________________________________ Mercurial mailing list [email protected] https://www.mercurial-scm.org/mailman/listinfo/mercurial
