* lisp/vc/vc-hg.el (vc-hg-unregister): New function (tiny change)

Fixes: debbugs:17454
This commit is contained in:
Santiago Payà i Miralta 2014-05-10 19:01:08 -07:00 committed by Glenn Morris
parent e7caef591f
commit 0add095990
2 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
* vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
2014-05-11 Glenn Morris <rgm@gnu.org>
* emacs-lisp/find-gc.el: Move to ../admin.

View file

@ -60,7 +60,7 @@
;; - responsible-p (file) OK
;; - could-register (file) OK
;; - receive-file (file rev) ?? PROBABLY NOT NEEDED
;; - unregister (file) COMMENTED OUT, MAY BE INCORRECT
;; - unregister (file) OK
;; * checkin (files rev comment) OK
;; * find-revision (file rev buffer) OK
;; * checkout (file &optional editable rev) OK
@ -436,10 +436,9 @@ COMMENT is ignored."
;; registered.
(error))))
;; FIXME: This would remove the file. Is that correct?
;; (defun vc-hg-unregister (file)
;; "Unregister FILE from hg."
;; (vc-hg-command nil nil file "remove"))
(defun vc-hg-unregister (file)
"Unregister FILE from hg."
(vc-hg-command nil 0 file "forget"))
(declare-function log-edit-extract-headers "log-edit" (headers string))