Am 10.12.2009 um 17:43 schrieb Tyler Roscoe:
> On Thu, Dec 10, 2009 at 04:52:55PM +0100, Tobias Hahn wrote:
>> Here's my use case:
>> - I'm working on a branch.
>> - I have a path in my working copy which is modified by some automatic scripts.
>
> This is not a great practice. Can you instead generate the modifications
> somewhere else, such as into a directory which you svn:ignore?
Short answer: No.
Long answer: I am employed by a software company. We have a team of developers working jointly on a large code base using svn. Needless to say, our repository contains much more than just the plain source code. To get these modifications in some other directory would be technically feasible but would require budgeting, planning, implementing, testing etc. On top of that there are good reasons why the output should be where it is within these directories, for which to explain I would need to discuss far too many details for this list. And last but not least, even though I could suggest such a change I am not in a position to decide this. So this is not really an option.
>> - About once a week, I merge trunk. To do so, I need a clean working copy. To get it clean, I have to
>> - manually delete all these files (slow and error prone) or
>> - delete the path and checkout again (very slow)
>> - just revert --force it (wishful thinking).
>
> Rather than blowing everything away and checking out again, I use
> something like this to clean up before a merge:
>
> svn status | grep '^?' | awk '{print $2}' | xargs rm -rf
Yes, I guess that's what I'll end up doing as well. However, we have paths containing spaces in our repo...
> I don't disagree that revert --force might be handy, but there are
> probably a number of reasons why that was deemed too scary for prime
> time.
Well, I would still argue it is a feature a lot of users could make good use of. :)
Best, Tobias
Ableton AG, Sitz Berlin, Amtsgericht Berlin-Charlottenburg, HRB 72838
Vorstand: Gerhard Behles, Jan Bohl, Bernd Roggendorf
Vorsitzender des Aufsichtsrats: Uwe Struck
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2429254
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-10 18:17:54 CET