Hi Bruno, On 4/15/24 4:47 AM, Bruno Haible wrote: > No. I'm adding 3 unit tests that prove that the patch is wrong, > one for each of docbase, sourcebase, testsbase. (For auxdir and m4base > gnulib-tool.{sh,py} does not support changing the value while preserving > the rest: For auxdir the old files are not removed, for m4base the list > of modules gets reset to empty.)
Ah, I see. I should have diff'd the two functions like you. The 'self.config' and 'self.cache' was too easy for my eyes to overlook... Thanks for adding the tests. My local branch fails but passes using master, so I can see this change is incorrect. I sent 2 other patches whenever you have time to check them. I can rewrite patch 0002 as long as it is otherwise correct. It should use rewrite_{new,old}_files and not the improper renamed function from patch 0001. Patch 0003 should work fine. Just an unused variable that is handled elsewhere. Collin