"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
bisync: fix error handling for renamed conflicts
nielashfd1665ae939b
diff --git a/cmd/bisync/listing.go b/cmd/bisync/listing.goindex 1853eecb5..b316ceb0d 100644--- a/cmd/bisync/listing.go+++ b/cmd/bisync/listing.go@@ -434,7 +434,6 @@ func (b *bisyncRun) listDirsOnly(listingNum int) (*fileList, error) {}fulllisting, err = b.loadListingNum(listingNum)-if err != nil {b.critical = trueb.retryable = true@@ -610,6 +609,11 @@ func (b *bisyncRun) modifyListing(ctx context.Context, src fs.Fs, dst fs.Fs, res}}if srcNewName != "" { // if it was renamed and not deleted+ if new == nil { // should not happen. log error and debug info+ b.handleErr(b.renames, "internal error", fmt.Errorf("missing info for %q. Please report a bug at https://github.com/rclone/rclone/issues", srcNewName), true, true)+ fs.PrettyPrint(srcList, "srcList for debugging", fs.LogLevelNotice)+ continue+ }srcList.put(srcNewName, new.size, new.time, new.hash, new.id, new.flags)dstList.put(srcNewName, new.size, new.time, new.hash, new.id, new.flags)}