Adding HG_DEST for post-clone hook

Roger Pate rogerpate at gmail.com
Sun Jan 6 19:05:16 UTC 2019


On Thu, Jan 3, 2019 at 8:08 AM anatoly techtonik <techtonik at gmail.com> wrote:
> I need to `cd` into cloned dir to do some automatic settings,
> but location of the new clone is not available.
...
> Taken from https://gitlab.com/snippets/1794395

What's the working directory for the post-clone hook?

Why do you want to set ui.username per repository on clone instead of
in ~/.hgrc?



More information about the Mercurial mailing list