+2008-03-22 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * vc-mtn.el (vc-mtn-state): Support the added state.
+
2008-03-22 Carsten Dominik <dominik@science.uva.nl>
* org: New directory for Org-mode.
(with-temp-buffer
(vc-mtn-command t 0 file "status")
(goto-char (point-min))
- (re-search-forward "^ \\(?:patched \\(.*\\)\\|no changes$\\)")
- (if (match-end 1)
- 'edited
- 'up-to-date))))
+ (re-search-forward
+ "^ \\(?:\\(patched\\)\\|\\(added\\) \\(?:.*\\)\\)\\|no changes$")
+ (cond ((match-end 1) 'edited)
+ ((match-end 2) 'added)
+ (t 'up-to-date)))))
(defun vc-mtn-working-revision (file)
;; If `mtn' fails or returns status>0, or if the search fails, just