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
38179d42
Commit
38179d42
authored
May 12, 1995
by
Roland McGrath
Browse files
(vc-status): If vc-locking-user returns a number, compare it to (user-uid).
parent
0e2d2f37
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/vc-hooks.el
lisp/vc-hooks.el
+6
-4
No files found.
lisp/vc-hooks.el
View file @
38179d42
;;; vc-hooks.el --- resident support for version-control
;; Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
;; Copyright (C) 1992, 1993, 1994
, 1995
Free Software Foundation, Inc.
;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
;; Modified by:
...
...
@@ -724,9 +724,11 @@ control system name."
(
rev
(
vc-workfile-version
file
)))
(
cond
((
string=
"0"
rev
)
" @@"
)
((
not
locker
)
(
concat
"-"
rev
))
((
string=
locker
(
user-login-name
))
((
not
locker
)
(
concat
"-"
rev
))
((
if
(
stringp
locker
)
(
string=
locker
(
user-login-name
))
(
=
locker
(
user-uid
)))
(
concat
":"
rev
))
(
t
(
concat
":"
locker
":"
rev
)))))
...
...
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