emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch against vc-rcs.el: vc-rcs-checkin: allows user login to be add


From: Stefan Monnier
Subject: Re: patch against vc-rcs.el: vc-rcs-checkin: allows user login to be added
Date: Mon, 07 Sep 2015 18:30:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> In any case I presume you mean functions like this

> (defun vc-hg-checkin (files comment)
>   "Hg-specific version of `vc-backend-checkin'.
> REV is ignored."
>   (apply 'vc-hg-command nil 0 files
>          (nconc (list "commit" "-m")
>                 (log-edit-extract-headers '(("Author" . "--user")
>                                           ("Date" . "--date"))
>                                           comment))))

That's right.

> I will play around a bit not sure that will work easily.

At first sight, it seems that

                 (log-edit-extract-headers '(("Author" . "-w"))
                                           comment))))

might do the trick,


        Stefan



reply via email to

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