Compare commits
No commits in common. "0637cddd58be588437520472e2f6043ab7830e77" and "2fb2806708c6170187e07136fd21d3402d5c85ea" have entirely different histories.
0637cddd58
...
2fb2806708
2 changed files with 5 additions and 4 deletions
|
@ -352,7 +352,8 @@ that buffer. Returns the buffer."
|
|||
(defun p4-lowlevel-command-messages ()
|
||||
"Return t if ‘vc-command-messages’ bound and true.
|
||||
Fall back to the value of ‘p4-lowlevel-command-messages’."
|
||||
(or (bound-and-true-p vc-command-messages)
|
||||
(if (and (boundp 'vc-command-messages) vc-command-messages)
|
||||
t
|
||||
p4-lowlevel-command-messages))
|
||||
|
||||
(defun p4-lowlevel-canonicalize-revision (rev)
|
||||
|
@ -626,7 +627,7 @@ then the `-q' flag is passed to `p4 print'."
|
|||
(let* ((fullfile (if rev (concat file rev) file))
|
||||
(quiet-args (if quiet (list "-q")))
|
||||
(args (append (list "print") quiet-args (list fullfile))))
|
||||
(p4-lowlevel-command-into-buffer args output-format)))
|
||||
(p4-lowlevel-command-or-error args nil output-format)))
|
||||
|
||||
;; Here's what we need to support from the "p4 reopen" command, at least for the
|
||||
;; time being:
|
||||
|
|
2
vc-p4.el
2
vc-p4.el
|
@ -930,7 +930,7 @@ If DIRNAME is not specified, uses `default-directory'."
|
|||
(info (p4-lowlevel-info))
|
||||
(root (alist-get "Client root" info nil nil #'string=))
|
||||
(cwd (alist-get "Current directory" info nil nil #'string=)))
|
||||
(string-prefix-p root cwd t)))
|
||||
(string-prefix-p root cwd)))
|
||||
|
||||
(defun vc-p4-has-unresolved-conflicts-p (file)
|
||||
"Search through FILE's buffer for unresolved P4 conflicts.
|
||||
|
|
Loading…
Reference in a new issue