[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-repository-version not defined when cloned with mercurial
From: |
Eli Zaretskii |
Subject: |
Re: emacs-repository-version not defined when cloned with mercurial |
Date: |
Sat, 10 Aug 2019 16:33:38 +0300 |
> From: Uwe Brauer <address@hidden>
> Date: Sat, 10 Aug 2019 15:12:18 +0200
>
> I used
> (call-process "hg" nil '(t nil) nil "parent" "--template '{node}\n'")
>
> but when I execute (via M-:) then it does not give the correct answer.
> It gives
>
> hg parents [-r REV] [FILE]
>
> show the parents of the working directory or revision (DEPRECATED)
>
> options:
>
> -r --rev REV show parents of the specified revision
> -T --template TEMPLATE display with template
> --mq operate on patch repository
>
> (use 'hg parents -h' to show more help)
>
> Which is clear sign that not all the parameters were passed correctly.
You need to make each command-line argument a separate string, I
think:
(call-process "hg" nil '(t nil) nil "parents" "--template" "{node}\n")
- emacs-repository-version not defined when cloned with mercurial, Uwe Brauer, 2019/08/09
- Re: emacs-repository-version not defined when cloned with mercurial, Paul Eggert, 2019/08/09
- Re: emacs-repository-version not defined when cloned with mercurial, Sven Joachim, 2019/08/10
- Re: emacs-repository-version not defined when cloned with mercurial, Uwe Brauer, 2019/08/10
- Re: emacs-repository-version not defined when cloned with mercurial, Stefan Monnier, 2019/08/10
- Re: emacs-repository-version not defined when cloned with mercurial, Eli Zaretskii, 2019/08/10
- Re: emacs-repository-version not defined when cloned with mercurial, Uwe Brauer, 2019/08/10
- Re: emacs-repository-version not defined when cloned with mercurial, Eli Zaretskii, 2019/08/10
- Re: emacs-repository-version not defined when cloned with mercurial, Uwe Brauer, 2019/08/10
- Re: emacs-repository-version not defined when cloned with mercurial,
Eli Zaretskii <=
- Re: emacs-repository-version not defined when cloned with mercurial, Uwe Brauer, 2019/08/10