You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only works correctly for put_r()'s first call (tree[lwd] = [(lwd, rwd)], where rwd really is the parent). Every deeper entry from localtree() passes an already-resolved directory, so put_d() double-appends it.
Suggested fix
In localtree(), store the parent remote dir per entry (remote = remotedir, not remotedir.joinpath(subdir_name)) to match put_d()'s existing contract.
Thanks for reporting this, I've reworked the localtree function to address this and handle some other edge cases. Added more testing to hopefully catch such things in the future.
Activity
byteskeptical commentedon Sep 15, 2026
Thanks for reporting this, I've reworked the localtree function to address this and handle some other edge cases. Added more testing to hopefully catch such things in the future.
EndlessDex commentedon Sep 15, 2026
Yaaaay. Now I can get rid of my put-loop workaround. I'ma test this tomorrow.