[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Switching

From: Andrew Reedick <Andrew.Reedick_at_cbeyond.net>
Date: Thu, 22 Aug 2013 13:48:19 -0400

> -----Original Message-----
> From: John Maher [mailto:JohnM_at_rotair.com]
> Sent: Thursday, August 22, 2013 1:34 PM
> To: Johan Corveleyn
> Cc: Thorsten Schöning; users_at_subversion.apache.org
> Subject: RE: Switching
>
>
> The problem isn't something in the way, the problem is something is
> there when nothing is expected. There is a directory in one branch but
> not the other. Subversion half empties it when switching to the branch
> without the directory. Then when switching back to the branch where
> the directory lives it complains that it can not add it because it is
> there. But that very same directory was part of the branch that is
> complaining that it can not add it because it is there.
>

Okay, this isn't a svn issue. This sounds more like a "I did a build against trunk, switched to branch B, and then did a build of B in a dirty workspace." That's just asking for trouble in terms of build accuracy and build repeatability; it's a bad practice in general.

The whole "trunk, switch to B, switch back to trunk" directory conflict may be an annoyance, but a 'make clean' build option or cleanup script run after the switch sounds like something that you need to implement.
Received on 2013-08-22 19:49:57 CEST

This is an archived mail posted to the Subversion Users mailing list.