OK, one last time, here's a patch. I'm pretty sure this gets it, but then
I've thought that once or twice before. Thanks for your patience -- please
let me know if this helps.
commit 3ff37143b5f067dd6aded34a39b5562f29a8b4fe
Author: John Goerzen <[EMAIL PROTECTED]>
Date: Sat May 10 21:08:05 2008 -0500
Finally fix the stupid LocalStatus folder bug, I really hope!
Noted thie code:
statusfolder =
statusrepos.getfolder(remotefolder.getvisiblename().\
replace(remoterepos.getsep(),
statusrepos.getsep()))
in accounts.py. Should have been using the sep of the LocalStatus all
along.
refs deb#479798, #68
diff --git a/offlineimap/repository/Base.py b/offlineimap/repository/Base.py
index 05e8c32..ed07b57 100644
--- a/offlineimap/repository/Base.py
+++ b/offlineimap/repository/Base.py
@@ -154,7 +154,7 @@ class BaseRepository(CustomConfig.ConfigHelperMixin):
if not key in desthash:
dest.makefolder(key)
for copyfolder in copyfolders:
- copyfolder.makefolder(key.replace(dest.getsep(), src.getsep()))
+ copyfolder.makefolder(key.replace(dest.getsep(), copyfolder.getsep()))
#
# Find deleted folders.