mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
vc-cvs-revert: fix off-by-one file mode
* lisp/vc/vc-cvs.el (vc-cvs-revert): 3950 (#o7556) is wrong as it keeps other-write but disables other-execute permissions. 3949 (#o7555) was intended here. Use octal notation for clarity.
This commit is contained in:
parent
8635147ccb
commit
b124cb8f30
1 changed files with 1 additions and 1 deletions
|
|
@ -440,7 +440,7 @@ REV is the revision to check out."
|
|||
(if vc-cvs-use-edit
|
||||
(vc-cvs-command nil 0 file "unedit")
|
||||
;; Make the file read-only by switching off all w-bits
|
||||
(set-file-modes file (logand (file-modes file) 3950)))))
|
||||
(set-file-modes file (logand (file-modes file) #o7555)))))
|
||||
|
||||
(defun vc-cvs-merge-file (file)
|
||||
"Accept a file merge request, prompting for revisions."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue