[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vc-got 3d2d3c3 059/145: drop vc-got-unregister, not use
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vc-got 3d2d3c3 059/145: drop vc-got-unregister, not used |
Date: |
Thu, 9 Sep 2021 15:58:33 -0400 (EDT) |
branch: externals/vc-got
commit 3d2d3c391f98896699fc27185f56982429b08a7b
Author: Timo Myyrä <timo.myyra@bittivirhe.fi>
Commit: omar-polo <47739920+omar-polo@users.noreply.github.com>
drop vc-got-unregister, not used
there doesn't seem a need for vc-got-unregister so drop it for now.
I Originally thought this was needed to unregister added files but that
is accomplished by revert.
---
vc-got.el | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/vc-got.el b/vc-got.el
index 0fb35e5..19f04bb 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -48,7 +48,7 @@
;; * register DONE
;; - responsible-p DONE
;; - receive-file NOT NEEDED, default `register' works
fine
-;; - unregister DONE
+;; - unregister NOT IMPLEMENTED, no use case
;; * checkin DONE
;; * find-revision DONE
;; * checkout NOT IMPLEMENTED
@@ -442,14 +442,6 @@ DIR-OR-FILE."
"Register FILES, passing `vc-register-switches' to the backend command."
(vc-got--add files))
-(defun vc-got-unregister (file)
- "Unregister given FILE, i.e. remove file if it was versioned
-file or revert it if it was added but not committed."
- (pcase (status (cdr (vc-got--parse-status (vc-got--status file))))
- ('unregistered nil) ;; no need for action
- ((or 'added 'missing) (vc-got--revert file))
- (_ (vc-got--remove file))))
-
(defalias 'vc-got-responsible-p #'vc-got-root)
(defun vc-got-checkin (files comment &optional _rev)
- [elpa] externals/vc-got 21914ca 032/145: apply-impl should not be interactive, (continued)
- [elpa] externals/vc-got 21914ca 032/145: apply-impl should not be interactive, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 0a66694 046/145: vc-got--log: add flag for reverse and mark as no side effects, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got a5c1731 047/145: drop vc-got-stage, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8da4c01 049/145: remove debugging comments, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3f25d9f 051/145: add vc-got-annotate (#4), ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8228942 050/145: fix vc-got-dir-status-files, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got fab791a 052/145: vc-got--call flatten and filter arg list, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8b635a9 054/145: implement repository-url, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got c27df03 055/145: print more info in vc-got-dir-extra-headers, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got a96df0e 056/145: provide unregister and delete-file commands (#7), ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3d2d3c3 059/145: drop vc-got-unregister, not used,
ELPA Syncer <=
- [elpa] externals/vc-got c819459 077/145: trap c-g during stage operation, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got eacbf76 065/145: don't hardcode got questions, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 2d83de2 074/145: implement vc-got-dir-printer, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 43c93a8 063/145: typo, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 6eea6cf 075/145: drop unnecessary `:group's directive in defcustom, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8ed796d 062/145: vc-got-dir-status-files: show changes in subdirs, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got ffa81a1 067/145: typo, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 6b6c8a7 064/145: fundamentals for staging changes, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 93562d9 073/145: fix default directory during stage operation, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 67332ba 076/145: docs fixes, ELPA Syncer, 2021/09/09