285 |
;; |
;; |
286 |
;; * diff (file &optional rev1 rev2) |
;; * diff (file &optional rev1 rev2) |
287 |
;; |
;; |
288 |
;; Insert the diff for FILE into the *vc-diff* buffer. If REV1 and REV2 |
;; Insert the diff for FILE into the *vc-diff* buffer. If REV1 and |
289 |
;; are non-nil, report differences from REV1 to REV2. If REV1 is nil, |
;; REV2 are non-nil, report differences from REV1 to REV2. If REV1 |
290 |
;; use the current workfile version (as found in the repository) as the |
;; is nil, use the current workfile version (as found in the |
291 |
;; older version; if REV2 is nil, use the current workfile contents as |
;; repository) as the older version; if REV2 is nil, use the current |
292 |
;; the newer version. This function should return a status of either 0 |
;; workfile contents as the newer version. This function should |
293 |
;; (no differences found), or 1 (either non-empty diff or the diff is |
;; pass the value of (vc-diff-switches-list BACKEND) to the backend |
294 |
;; run asynchronously). |
;; command. It should return a status of either 0 (no differences |
295 |
|
;; found), or 1 (either non-empty diff or the diff is run |
296 |
|
;; asynchronously). |
297 |
;; |
;; |
298 |
;; - diff-tree (dir &optional rev1 rev2) |
;; - diff-tree (dir &optional rev1 rev2) |
299 |
;; |
;; |