Adding HG_DEST for post-clone hook

anatoly techtonik techtonik at gmail.com
Mon Jan 7 14:27:26 UTC 2019


On Sun, Jan 6, 2019 at 10:05 PM Roger Pate <rogerpate at gmail.com> wrote:
>
> 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?

Yes. Name could be different, of course.

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

Because different organizations require different emails.
-- 
anatoly t.



More information about the Mercurial mailing list