From 54dc77ac53eade5ff226db073055decf24b9761d Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 29 Sep 2013 14:51:49 -0400 Subject: webapp: Fixed a bug where when a new remote is added, one file may fail to sync to or from it This happened because the transferrer process did not know about the new remote. remoteFromUUID crashed, which crashed the transferrer. When it was restarted, the new one knew about the new remote so all further files would transfer, but the one file would temporarily not be, until transfers retried. Fixed by making remoteFromUUID not crash, and try reloading the remote list if it does not know about a remote. Note that this means that remoteFromUUID does not only return Nothing anymore when the UUID is the UUID of the local repository. So had to change some code that dependend on that assumption. --- debian/changelog | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 1379ffc01..9fbeae0a7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,9 @@ git-annex (4.20130921) UNRELEASED; urgency=low * Send a git-annex user-agent when downloading urls. Overridable with --user-agent option. (Not yet done for S3 or WebDAV due to limitations of libraries used.) + * webapp: Fixed a bug where when a new remote is added, one file + may fail to sync to or from it due to the transferrer process not + yet knowing about the new remote. -- Joey Hess Sun, 22 Sep 2013 19:42:29 -0400 -- cgit v1.2.3