From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: emacs-repository-version not defined when cloned with mercurial
Date: Sat, 10 Aug 2019 16:33:38 +0300 [thread overview]
Message-ID: <83blwx87rh.fsf@gnu.org> (raw)
In-Reply-To: <87lfw16u6l.fsf@mat.ucm.es> (message from Uwe Brauer on Sat, 10 Aug 2019 15:12:18 +0200)
> From: Uwe Brauer <oub@mat.ucm.es>
> 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")
next prev parent reply other threads:[~2019-08-10 13:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-09 15:40 emacs-repository-version not defined when cloned with mercurial Uwe Brauer
2019-08-09 20:24 ` Paul Eggert
2019-08-10 7:52 ` Sven Joachim
2019-08-10 8:35 ` Uwe Brauer
2019-08-10 8:29 ` Uwe Brauer
2019-08-10 9:17 ` Stefan Monnier
2019-08-10 9:54 ` Eli Zaretskii
2019-08-10 10:09 ` Uwe Brauer
2019-08-10 10:44 ` Eli Zaretskii
2019-08-10 13:12 ` Uwe Brauer
2019-08-10 13:33 ` Eli Zaretskii [this message]
2019-08-10 13:58 ` Uwe Brauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83blwx87rh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=oub@mat.ucm.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.