From: John Maher <JohnM_at_rotair.com>
Date: Thu, 22 Aug 2013 15:48:22 +0000
Thanks for the reply Les.
Actually I would call the problem the way I am using the tool. Since no one has provided a better solution there may not be one. Perhaps no one considered switching between branches where there could exist a directory with unversioned files in one and not the other. I don't know. Maybe no one wanted to make it work since they never needed that feature. I don't know. After reading tons of material on subversion I thought it would be good to keep development for individual features in separate branches. But the cost is easily out weighing the benefit.
And one of the files I am ignoring is user settings which is required for testing. Deleting that file would just introduce more trouble causing the user to repeatedly re-enter settings to test code. The output is already directed away to a development directory. I see no way to delete the intermediate files which would get constantly re-created anyway and would not solve the problem because the user settings file would still cause the same issue. And the developers need their own settings.
Before I started trying to learn the branching (which I didn't even get to yet since simply switching is causing so much grief) I would jot down on a piece of paper which projects affected which feature and do all the development in the trunk then only put in production what was needed. This worked. It just seems strange to have to keep notes on a piece of paper which modules are for which feature using source code control software.
But if that's how subversion works, then that's how it works.
On Thu, Aug 22, 2013 at 6:30 AM, John Maher <JohnM_at_rotair.com> wrote:
Your problem is not so much that svn doesn't deleted the unversioned files, but that it can't delete the directory containing them.
> But it seems the only answer is a tedious and manual process for the simplest of enhancements.
Don't your build tools have commands to remove any spurious files they've created or some equivalent of 'make clean' that you can run to remove the clutter in a non-tedious way so that svn switch is free to work correctly with the versioned content?
> I was hoping to find what others seem to praise, but have continually come up empty handed. I'll check stackoverflow before I give up.
If the big picture is including library components and their containing directories in some versions and not others, the simple solution might be to give the components their own location in the repository (or a different one) and pull them in only as needed with
-- Les Mikesell lesmikesell_at_gmail.comReceived on 2013-08-22 17:50:06 CEST
This is an archived mail posted to the Subversion Users mailing list.