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

RE: Re: Reconstructing the .svn directory

From: <SebastianUnger_at_eaton.com>
Date: 2006-08-07 04:41:10 CEST

And there is also always the question as to why that folder has
to be in SVN if you are obviously able to reconstruct it. If its
really only parts of the folder that should be kept, you could
put those in a different folder and remove your folder from SVN
altogether. That way you can always delete the folder, copy the
WC of the few bits you need and voila everything's gone exept
those things that you really wanted and checked in.

Another approach is, what we do here. If a clean build is required,
we have a script that deletes everything listed by an
svn st --no-ignore
That definitely gives us a clean start and works beautifully with
files that are added but not yet commited etc. Only problem is if
people do a clean build before they added files to the repo. But
this mistake disappeared very quickly, as people learned to IMMEDIATELY
add new files in svn. Took the team of 15 people about a month and
it hardly ever occured anymore.

Seb

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Gavin Lambert
Sent: Monday, 7 August 2006 2:31
To: users@tortoisesvn.tigris.org
Subject: Re: Reconstructing the .svn directory

Quoth Daniel Atallah:
> This is actually kind of dangerous - if there had been changes to the
> repository between the time of the original checkout/last update and
> when you are checking out the HEAD revision, those changes will
> effectively be lost without your knowledge.

Yeah. It's better to archive your original .svn folder somewhere else
temporarily and then restore it afterwards, if you *really* must delete
the folder.

Are you absolutely sure you have to delete the whole folder? VS2005
doesn't require that for anything that I'm working on -- at most, if
you're paranoid, you need to delete some of the contents of a folder,
not the whole folder.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Aug 7 04:42:42 2006

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