Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0add0959
Commit
0add0959
authored
May 10, 2014
by
Santiago Payà i Miralta
Committed by
Glenn Morris
May 10, 2014
Browse files
* lisp/vc/vc-hg.el (vc-hg-unregister): New function (tiny change)
Fixes: debbugs:17454
parent
e7caef59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/vc/vc-hg.el
lisp/vc/vc-hg.el
+4
-5
No files found.
lisp/ChangeLog
View file @
0add0959
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.
...
...
lisp/vc/vc-hg.el
View file @
0add0959
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment