[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vc-jj f59dc8fcaa 10/58: Implement vc-rename-file to fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vc-jj f59dc8fcaa 10/58: Implement vc-rename-file to fix interop with dired-vc-rename-file |
Date: |
Sat, 15 Mar 2025 07:01:30 -0400 (EDT) |
branch: externals/vc-jj
commit f59dc8fcaa2349881ba154db7fd429d1a5bb2346
Author: Wojciech Siewierski <wojciech@siewierski.eu>
Commit: Wojciech Siewierski <wojciech@siewierski.eu>
Implement vc-rename-file to fix interop with dired-vc-rename-file
---
vc-jj.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/vc-jj.el b/vc-jj.el
index 1af2145ca3..cd3dbc1d63 100644
--- a/vc-jj.el
+++ b/vc-jj.el
@@ -100,6 +100,13 @@
;; No action needed.
)
+(defun vc-jj-delete-file (file)
+ (when (file-exists-p file)
+ (delete-file file)))
+
+(defun vc-jj-rename-file (old new)
+ (rename-file old new))
+
(defun vc-jj-checkin (files comment &optional _rev)
(setq comment (replace-regexp-in-string "\\`Summary: " "" comment))
(let ((args (append (vc-switches 'jj 'checkin) (list "--") files)))
- [elpa] externals/vc-jj f8563a006d 16/58: Tell jj about ignored files, (continued)
- [elpa] externals/vc-jj f8563a006d 16/58: Tell jj about ignored files, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj e18e288bcf 30/58: Add package.el metadata, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj a6fab35d8a 35/58: Make changes according to code review, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 92a4612ad2 36/58: Make sure default-directory is well-formed throughout, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 61444d3221 46/58: Add vc-jj-command, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 7d72dc47d3 45/58: Fix vc-annotate author parsing, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj e0fcb943d2 48/58: Fix vc-jj-annotate breaking on following previous revisions, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj aee981846f 51/58: Fix tests in previous commit, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 886b9e396c 53/58: add vc-jj-push, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 1fb0c5651f 56/58: Use split-string-shell-command, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj f59dc8fcaa 10/58: Implement vc-rename-file to fix interop with dired-vc-rename-file,
ELPA Syncer <=
- [elpa] externals/vc-jj 87c8f4da17 17/58: Handle gitignore files in subdirectories, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 0e40042240 05/58: Add README and LICENSE, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 8722878acd 09/58: Erase the output buffers properly, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 08449de406 22/58: Remove a second "--" argument, it's already in the arg list, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 6621c9b6ab 24/58: Discriminate between added, edited files in vc-dir buffer, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj b75160031a 29/58: Add some tests, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 5294ae8ddd 34/58: Use 'vc-jj-program' instead of hardcoded "jj", ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 31ab84e6bf 32/58: Implement vc-annotate, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 885ddb24ae 38/58: Consider project-files-relative-names in project-files, ELPA Syncer, 2025/03/15
- [elpa] externals/vc-jj 9df26ebf32 40/58: Return full change id from vc-jj-working-revision, ELPA Syncer, 2025/03/15