unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* vc-next-action or vc-dir, optionally allows to change the user?
@ 2022-06-24 13:20 Uwe Brauer
  2022-06-24 13:36 ` Dmitry Gutov
  0 siblings, 1 reply; 11+ messages in thread
From: Uwe Brauer @ 2022-06-24 13:20 UTC (permalink / raw)
  To: help-gnu-emacs



Hi 

Recently I have to commit (using hg,  but this should be irrelevant here)
changes as another user, so usually I tried 


(defun my-set-new-user ()
  "Set the user for the commit and ChangLog entries to new user."
  (interactive)
  (setq user-full-name "James Bond")
  (setq add-log-full-name "James Bond")
  (setq user-mail-address "007@mi6.co.uk")
  (setq add-log-mailing-address "007@mi6.co.uk")
  (message "Now changes are registered as JB"))

But it did not help.

Any idea how to change the user and email address for the  commit
message?

I can commit explicitly from the command line as a new user, but that is
a bit cumbersome.

Regards

Uwe Brauer  



-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-06-25  9:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-24 13:20 vc-next-action or vc-dir, optionally allows to change the user? Uwe Brauer
2022-06-24 13:36 ` Dmitry Gutov
2022-06-24 14:26   ` Uwe Brauer
2022-06-24 15:00     ` Dmitry Gutov
2022-06-24 15:12       ` [a bug, with log-edit-setup-add-author?] (was: vc-next-action or vc-dir, optionally allows to change the user?) Uwe Brauer
2022-06-24 15:24         ` [culprit found] (was: [a bug, with log-edit-setup-add-author?]) Uwe Brauer
2022-06-24 15:04     ` vc-next-action or vc-dir, optionally allows to change the user? Uwe Brauer
2022-06-24 15:32     ` Jean Louis
2022-06-24 15:46       ` Uwe Brauer
2022-06-25  6:49         ` Jean Louis
2022-06-25  9:45           ` Dmitry Gutov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).