projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b9d689
)
vc-mtn-find-revision handle null rev.
author
Stephen Leake
<stephen_leake@stephe-leake.org>
Thu, 30 Jul 2015 06:25:47 +0000
(
01:25
-0500)
committer
Stephen Leake
<stephen_leake@stephe-leake.org>
Thu, 30 Jul 2015 06:25:47 +0000
(
01:25
-0500)
* lisp/vc/vc-mtn.el (vc-mtn-find-revision): handle null rev
lisp/vc/vc-mtn.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc-mtn.el
b/lisp/vc/vc-mtn.el
index 944a83ebc69d8ff43866bd69524d83f1ea2e83b9..685ef3b6742cd6f5ebfdccbd886d62d5b52ace98 100644
(file)
--- a/
lisp/vc/vc-mtn.el
+++ b/
lisp/vc/vc-mtn.el
@@
-207,7
+207,10
@@
switches."
comment))))
(defun vc-mtn-find-revision (file rev buffer)
- (vc-mtn-command buffer 0 file "cat" "-r" rev))
+ ;; null rev means latest revision
+ (if rev
+ (vc-mtn-command buffer 0 file "cat" "-r" rev)
+ (vc-mtn-command buffer 0 file "cat")))
;; (defun vc-mtn-checkout (file &optional rev)
;; )