emacs-devel
[Top][All Lists]
Advanced

[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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]