aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/vc/vc-mtn.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/vc/vc-mtn.el b/lisp/vc/vc-mtn.el
index 944a83ebc69..685ef3b6742 100644
--- a/lisp/vc/vc-mtn.el
+++ b/lisp/vc/vc-mtn.el
@@ -207,7 +207,10 @@ switches."
207 comment)))) 207 comment))))
208 208
209(defun vc-mtn-find-revision (file rev buffer) 209(defun vc-mtn-find-revision (file rev buffer)
210 (vc-mtn-command buffer 0 file "cat" "-r" rev)) 210 ;; null rev means latest revision
211 (if rev
212 (vc-mtn-command buffer 0 file "cat" "-r" rev)
213 (vc-mtn-command buffer 0 file "cat")))
211 214
212;; (defun vc-mtn-checkout (file &optional rev) 215;; (defun vc-mtn-checkout (file &optional rev)
213;; ) 216;; )