Mercurial > emacs
comparison lisp/vc-arch.el @ 54409:a9f1e9611612
(vc-arch-workfile-unchanged-p): Define to avoid dup-diff.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 16 Mar 2004 15:20:17 +0000 |
parents | 7739fb21ca7f |
children | 504aef04e493 |
comparison
equal
deleted
inserted
replaced
54408:815ad617d6ac | 54409:a9f1e9611612 |
---|---|
119 root 'arch-default-version | 119 root 'arch-default-version |
120 (with-temp-buffer | 120 (with-temp-buffer |
121 (insert-file-contents f) | 121 (insert-file-contents f) |
122 ;; Strip the terminating newline. | 122 ;; Strip the terminating newline. |
123 (buffer-substring (point-min) (1- (point-max))))))))) | 123 (buffer-substring (point-min) (1- (point-max))))))))) |
124 | |
125 (defun vc-arch-workfile-unchanged-p (file) | |
126 "Check if FILE is unchanged by diffing against the master version. | |
127 Return non-nil if FILE is unchanged." | |
128 nil) | |
124 | 129 |
125 (defun vc-arch-state (file) | 130 (defun vc-arch-state (file) |
126 ;; There's no checkout operation and merging is not done from VC | 131 ;; There's no checkout operation and merging is not done from VC |
127 ;; so the only operation that's state dependent that VC supports is commit | 132 ;; so the only operation that's state dependent that VC supports is commit |
128 ;; which is only activated if the file is `edited'. | 133 ;; which is only activated if the file is `edited'. |