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

RE: Switching

From: John Maher <JohnM_at_rotair.com>
Date: Thu, 22 Aug 2013 17:54:18 +0000

This happens even if you do not do a build. There is a class library in one branch but not the other mixed with unversioned files that I can do nothing about.

-----Original Message-----
From: Andrew Reedick [mailto:Andrew.Reedick_at_cbeyond.net]
Sent: Thursday, August 22, 2013 1:48 PM
To: John Maher; Johan Corveleyn
Cc: Thorsten Schöning; users_at_subversion.apache.org
Subject: RE: Switching

> -----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:56:10 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.