I have a package with many subfolders. Each subfolder contains different svn ignores. Now I would like to replace all the folder structure with the new package (which does not contain the ignores). If I copy the paste directly all the ignores are lost. I would like to write an script which copies and then set again all the ignores. How should I do it?
I want to clarify that if there is another method to copy the files without removing the ignores I'm open to suggestions.
Edit: the package I am substituting in my repo is part of another repo but does not have different svn properties