mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
* lisp/vc/vc-hg.el (vc-hg-checkin): Pass '-A' to 'hg commit'.
This commit is contained in:
parent
56bfd63bb8
commit
e48592ef3b
2 changed files with 2 additions and 2 deletions
|
|
@ -1216,7 +1216,7 @@ It is based on `log-edit-mode', and has Hg-specific extensions.")
|
|||
(defun vc-hg-checkin (files comment &optional _rev)
|
||||
"Hg-specific version of `vc-BACKEND-checkin'.
|
||||
REV is ignored."
|
||||
(let ((args (nconc (list "commit" "-m")
|
||||
(let ((args (nconc (list "commit" "-A" "-m")
|
||||
(vc-hg--extract-headers comment))))
|
||||
(if vc-async-checkin
|
||||
(let ((buffer (vc-hg--async-buffer)))
|
||||
|
|
|
|||
|
|
@ -1604,7 +1604,7 @@ from which to check out the file(s)."
|
|||
;; If committing a mix of removed and edited files, the
|
||||
;; fileset has state = 'edited. Rather than checking the
|
||||
;; state of each individual file in the fileset, it seems
|
||||
;; simplest to just check if the file exists. Bug#9781.
|
||||
;; simplest to just check if the file exists. Bug#9781.
|
||||
(when (and (file-exists-p file) (not (file-writable-p file)))
|
||||
;; Make the file-buffer read-write.
|
||||
(unless (y-or-n-p (format "%s is edited but read-only; make it writable and continue? " file))
|
||||
|
|
|
|||
Loading…
Reference in a new issue