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

Re: wish: Add option to create missing directories in .svn or _svn dirs

From: Thomas Hruska <thruska_at_cubiclesoft.com>
Date: 2007-01-20 04:52:40 CET

Simon Large wrote:
> Carsten Schuette wrote:
>> I have tested a small tool that tried to clean unneccessary files from
>> my computer. Unfortunately it deleted also the tmp directory from my
>> _svn dirs in the SVN repositories. The repository is damaged now and
>> cannot be fixed as easy as expected.
> I think you mean working copy, not repository.
>> I would suggest an option that would re-create the missing (empty)
>> directories in the .svn (or _svn) dirs.
> TSVN never touches the .svn folders directly (and nor should your
> cleanup tool ;-) You have to ask on the subversion mailing list for a
> means of recreating those tmp folders automatically.
> Simon

One way to fix it that's kind of painful but works is to create another
folder (outside the messed up one) and drop down another WC from the
repository. Now copy over files you know you've modified and overwrite
those in the shiny new WC. Then, check and make sure everything looks
good (e.g. build it/run it/etc.). Then delete the old messed up WC.

Finally, delete the cleanup tool you found and never use it again.
Possibly tell the author that their tool messes with .svn directories
and teach them about the benefits of version control software like SVN
and how cool TSVN is. If they are using TSVN, then they won't hose
their own computer's necessary files. That would be just silly if they
did that.

Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
*NEW* VerifyMyPC 2.0
Change tracking and management tool.
Reduce tech. support times from 2 hours to 5 minutes.
Free for personal use, $10 otherwise.
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Jan 20 04:52:58 2007

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

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