Tue, 08 Oct 2024 22:21:04 +0200, /Uwe Brauer/:

I use histedit quite a bit, but use the following alias (not sure where I obtainted it from)

histed = !TMP=$($HG root) $HG histedit "$@"

hg histed

Starts histedit but from the directory I start the command, so the editor (gnuclient my case) acts in that directory and not in /tmp which is the default

So my simple question is, what would be the command line aquivalent of that command

  hg !TMP=$($HG root) $HG histedit "$@"

Does not work
[...]

Maybe:

    TMP=$(hg root) hg histedit "$@"

--
_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to