[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 96326a0222 06/13: Fix: (hyperdrive--mirror) Sig
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 96326a0222 06/13: Fix: (hyperdrive--mirror) Signal user-error when no files to upload |
Date: |
Fri, 8 Sep 2023 19:00:09 -0400 (EDT) |
branch: elpa/hyperdrive
commit 96326a0222a2add605a5e09e37e55d168a718b7f
Author: Joseph Turner <joseph@ushin.org>
Commit: Adam Porter <adam@alphapapa.net>
Fix: (hyperdrive--mirror) Signal user-error when no files to upload
---
hyperdrive-mirror.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hyperdrive-mirror.el b/hyperdrive-mirror.el
index 162dbb8082..92c82f5080 100644
--- a/hyperdrive-mirror.el
+++ b/hyperdrive-mirror.el
@@ -60,6 +60,8 @@ uploading files, open PARENT-ENTRY."
(hyperdrive-open parent-entry)
(with-current-buffer (get-buffer-create
"*hyperdrive-mirror*")
(revert-buffer nil t))))))
+ (unless upload-files-and-urls
+ (hyperdrive-user-error "No new/newer files to upload"))
(pcase-dolist (`(,_id [,status ,file ,url]) upload-files-and-urls)
(hyperdrive-upload-file file (hyperdrive-url-entry url)
:queue queue
- [nongnu] elpa/hyperdrive updated (b5651bcfd1 -> 24df174711), ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive d7ad2d87e2 02/13: Change: (hyperdrive-mirror) Add faces for each status, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 96326a0222 06/13: Fix: (hyperdrive--mirror) Signal user-error when no files to upload,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive bc622823e6 10/13: Tidy: Function call, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 4a6296f10f 09/13: Comment: Add NOTE, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 1423b9b8f2 08/13: Comment: Add TODO, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 0d6ad70c0c 03/13: Add: (hyperdrive-mirror.el) Add revert-buffer-function, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 2ce5f9c3a9 01/13: Change: (hyperdrive-mirror.el) Compare file modification times, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 39475924c0 04/13: Change: (hyperdrive-mirror) Distinguish older files from same mtime, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 0591645ed8 05/13: Comment: Add TODO, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive a71bea29a8 07/13: Comment: Update TODO, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive be7dc28786 11/13: Tidy: (hyperdrive-next-version) Use if instead of pcase, ELPA Syncer, 2023/09/08
- [nongnu] elpa/hyperdrive 114bc1e7bc 12/13: Tidy, ELPA Syncer, 2023/09/08