Commit 10aa933d authored by Richard M. Stallman's avatar Richard M. Stallman

(vc-locking-user): In CVS case, convert user number to a string.

parent 27116657
......@@ -608,7 +608,10 @@ For CVS, the full name of CVS/Entries is returned."
(and (equal (vc-file-getprop file 'vc-checkout-time)
(nth 5 (file-attributes file)))
(vc-file-setprop file 'vc-locking-user 'none))
(vc-file-setprop file 'vc-locking-user (vc-file-owner file))))
(let ((locker (vc-file-owner file)))
(vc-file-setprop file 'vc-locking-user
(if (stringp locker) locker
(format "%d" locker))))))
((eq (vc-backend file) 'RCS)
(let (p-lock)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment