[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vc-fossil 5d66231 107/111: Changes from upstream
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vc-fossil 5d66231 107/111: Changes from upstream |
Date: |
Wed, 29 Sep 2021 08:59:31 -0400 (EDT) |
branch: elpa/vc-fossil
commit 5d66231e25f34aaedb4befa0fcd80a9c30d7e607
Author: Venkat Iyer <venkat_iyer@apple.com>
Commit: Venkat Iyer <venkat_iyer@apple.com>
Changes from upstream
---
vc-fossil.el | 39 +++++++++++++++++++++------------------
1 file changed, 21 insertions(+), 18 deletions(-)
diff --git a/vc-fossil.el b/vc-fossil.el
index ca9d426..74bc4c4 100644
--- a/vc-fossil.el
+++ b/vc-fossil.el
@@ -39,7 +39,7 @@
;; * checkout-model (files) OK
;; - mode-line-string (file) ??
;; STATE-CHANGING FUNCTIONS
-;; * create-repo (backend) OK
+;; * create-repo () OK
;; * register (files &optional comment) OK
;; - responsible-p (file) OK
;; - receive-file (file rev) ??
@@ -48,7 +48,7 @@
;; * find-revision (file rev buffer) OK
;; * checkout (file &optional rev) OK
;; * revert (file &optional contents-done) OK
-;; - merge-file (file rev1 rev2) ??
+;; - merge-file (file &optional rev1 rev2) ??
;; - merge-branch () ??
;; - merge-news (file) ??
;; - pull (prompt) OK
@@ -59,9 +59,9 @@
;; - find-admin-dir (file) ??
;; HISTORY FUNCTIONS
;; * print-log (files buffer &optional shortlog start-revision limit) OK
-;; * log-outgoing (backend remote-location) ??
-;; * log-incoming (backend remote-location) ??
-;; - log-search (pattern) ??
+;; * log-outgoing (buffer remote-location) ??
+;; * log-incoming (buffer remote-location) ??
+;; - log-search (buffer pattern) ??
;; - log-view-mode () OK
;; - show-log-entry (revision) ??
;; - comment-history (file) ??
@@ -81,8 +81,8 @@
;; MISCELLANEOUS
;; - make-version-backups-p (file) ??
;; - root (file) OK
-;; - ignore (file &optional directory) ??
-;; - ignore-completion-table ??
+;; - ignore (file &optional directory remove) ??
+;; - ignore-completion-table (directory) ??
;; - previous-revision (file rev) OK
;; - next-revision (file rev) OK
;; - log-edit-mode () ??
@@ -162,13 +162,13 @@
(cond ((not code) 'unregistered)
((string= code "UNKNOWN") 'unregistered)
((string= code "UNCHANGED") 'up-to-date)
- ((string= code "CONFLICT") 'edited)
+ ((string= code "CONFLICT") 'conflict)
((string= code "ADDED") 'added)
((string= code "ADD") 'needs-update)
((string= code "EDITED") 'edited)
((string= code "REMOVE") 'removed)
((string= code "UPDATE") 'needs-update)
- ((string= code "MERGE") 'needs-merge)
+ ((string= code "UPDATED_BY_MERGE") 'needs-merge)
((string= code "EXTRA") 'unregistered)
((string= code "MISSING") 'missing)
((string= code "RENAMED") 'added)
@@ -182,8 +182,10 @@
(let* ((default-directory dir)
(lines (split-string (vc-fossil--run "changes" "--classify" "--all"
".") "[\n\r]+" t)))
(dolist (line lines)
- (string-match "^\\(\\w+\\)\\s-+\\(.+\\)$" line)
- (let ((pair (cons (match-string 2 line) (match-string 1 line))))
+ (let* ((state-and-file (split-string-and-unquote line))
+ (state (car state-and-file))
+ (file (cadr state-and-file))
+ (pair (cons file state)))
(push pair vc-fossil--file-classifications)))))
(defun vc-fossil--propertize-header-line (name value)
@@ -205,7 +207,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
(repeat :tag "Argument List" :value ("") string))
:group 'vc-fossil)
-(defcustom vc-fossil-extra-header-fields (list :checkout :tags)
+(defcustom vc-fossil-extra-header-fields (list :repository :remote-url
:checkout :tags)
"A list of keywords denoting extra header fields to show in the vc-dir
buffer."
:type '(set (const :repository) (const :remote-url) (const :synchro)
(const :checkout) (const :comment) (const :tags))
@@ -266,7 +268,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
(forward-line)))
;; Now collect untracked files.
(delete-region (point-min) (point-max))
- (insert (apply 'vc-fossil--run "extras" "--dotfiles" (or files (list
dir))))
+ (insert (apply 'vc-fossil--run "extras" "--dotfiles" (list dir)))
(goto-char (point-min))
(while (not (eobp))
(let ((file (buffer-substring-no-properties (point)
(line-end-position))))
@@ -287,7 +289,8 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
(push (vc-fossil--propertize-header-line "Repository : " repo)
lines)))
((eql field :remote-url)
(let ((remote-url (car (split-string (vc-fossil--run
"remote-url")))))
- (push (vc-fossil--propertize-header-line "Remote URL : "
remote-url) lines)))
+ (unless (string= "off" remote-url)
+ (push (vc-fossil--propertize-header-line "Remote : "
remote-url) lines))))
((eql field :synchro)
(let* ((as-match (string-match "^autosync +.+
+\\([[:graph:]]+\\)$" settings))
(autosync (and as-match (match-string 1 settings)))
@@ -379,7 +382,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
t
(vc-fossil--command nil 0 file "revert")))
-;; - merge-file (file rev1 rev2)
+;; - merge-file (file &optional rev1 rev2)
;; - merge-branch ()
@@ -419,11 +422,11 @@ If nil, use the value of `vc-diff-switches'. If t, use
no switches."
(when limit (list "-n" (number-to-string limit)))
(list "-p" (file-relative-name (expand-file-name file)))))))))
-;; * log-outgoing (backend remote-location)
+;; * log-outgoing (buffer remote-location)
-;; * log-incoming (backend remote-location)
+;; * log-incoming (buffer remote-location)
-;; - log-search (pattern)
+;; - log-search (buffer pattern)
(defvar log-view-message-re)
(defvar log-view-file-re)
- [nongnu] elpa/vc-fossil b468088 083/111: Fixed accidental breakage., (continued)
- [nongnu] elpa/vc-fossil b468088 083/111: Fixed accidental breakage., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil e0192e5 105/111: Bring in changes from upstream: Switch to using "fossil changes" (by ams)., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7bb3121 093/111: Push changes from pdo, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7815c30 111/111: vc-fossil.el: Update from fossil., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 31b0ee6 106/111: From ams: Work better when operating under a subdirectory. vc-fossil.el (vc-fossil--classify-all-files): List only files under directory we are in. (vc-fossil-dir-status-files): Since we are in DIR; don't try to figure out the relative name of the file., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil da4d895 084/111: Refactored header-line propertizing function., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 9f90307 097/111: Add changes from pdo, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7e84860 091/111: Attempted pushes. Sigh, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 73c5145 088/111: Tweaked :synchro and :checkout header line formats., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil d9190c0 100/111: Fossil at the end of the VC backends list., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 5d66231 107/111: Changes from upstream,
ELPA Syncer <=
- [nongnu] elpa/vc-fossil 4254ef5 104/111: Get changes from upstream upto 2020-09-20, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil f07cd00 108/111: Upstream updates, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil acb773e 098/111: Merge Changes, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil abdb548 099/111: Update to pdo's latest, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil f365e43 110/111: vc-fossil.el: Update from fossil., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 9e52264 028/111: emacs style (cont), some logic issues seem apparent..., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7c5af95 102/111: enable Fossil VC backend at load / autoload time, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 93c2104 101/111: Merge pull request #1 from barak/trunk, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil bf1969f 033/111: Undo file-truename in log because emacs-23.3.1 gives relative names which confuse fossil., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil c058f3d 039/111: Remove debug message from `vc-fossil-after-dir-status`., ELPA Syncer, 2021/09/29