-
|
Hi guys, I followed the docs example that shows how to perform an exclude for a copier update: https://copier.readthedocs.io/en/latest/configuring/#exclude The example says the following:
For my situation I have a folder called However, when I update my theme with Have I misunderstood the behaviour here? Is there another way to achieve my solution? Is this occurring because the I saw on the issue tracker that someone had the same issue but for his use case he decided to use My copier version: 9.10.2 Any help from the community would be much appreciated, thanks guys 👍 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
|
I've just tried your scenario according to my understanding of it, it seems to work fine. The conditionally excluded directory is not deleted when updating. We also have a test case for conditionally excluded files (not directories though). Could you provide a reproducible example please? |
Beta Was this translation helpful? Give feedback.
@savtrip I think your expected behavior is correct. With #2349 this should be fixed.
@lkubb I think "summoned" is too harsh a word. 😄 My intent was to loop you in in case you have time and interest in engaging in the discussion. Thanks for double-checking and confirming my thoughts on the problem and solution. 🙇 And thanks for bringing two additional obs…