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

Re: Handle missing svn/.tmp gracefully

From: Kevin Greiner <greinerk_at_gmail.com>
Date: 2006-02-21 15:21:34 CET

On 2/21/06, Gili <cowwoc@bbs.darktech.org> wrote:
> Stefan Küng <tortoisesvn@...> writes:
>
> >
> > Gili wrote:
> > >
> > > TortoiseSVN should handle missing svn/.tmp directories more
> > > gracefully (recreate them quietly). See
> > > http://svn.haxx.se/users/archive-2004-12/0358.shtml for some background.
> > >
> > > Can we fix this?
> >
> > I don't know if *you* can fix this, I only know that I can't.
> > Everything inside the .svn dirs is Subversions territory, not TSVN's.
> >
> > And what do you mean by "fix" this? It's not TSVN or Subversion that's
> > broken, but you didn't copy the working copy completely! Imagine the
> > answer from Microsoft if you would ask them to provide a workaround if
> > you copy only half of each word document and cut the second half off.
> > If you now think that's not the same, think again - you actually
> > *removed* a vital part of Subversions *internal* data structure (doesn't
> > matter if you think an empty folder is useless).
> >
> > Stefan
>
> Stefan,
>
> I should clarify I never copied any directories around nor removed "svn/.tmp"
> -- All I know is that every couple of weeks, I begin getting errors from TSVN
> about these directories being missing and I am forced to re-checkout the
> directory from the repository. Something is removing these directories but I
> highly doubt it is the users. Is there a reason you couldn't just create
> svn/.tmp if it is missing? Isn't this directory simply a temporary working
> space? If not, please elaborate on what it's used for.

As Stefan says above, TSVN won't touch anything in this .svn directory
since it's not created by TSVN but rather by the svn library itself.
If you want pursue your suggestion further, try the svn mailing list.
The devs _may_ be open to this idea as there was some discussion
recently on the dev list about graceful handling of partially
corrupted .svn areas. Sending a patch to the svn dev list would
certainly start the discussion.

FWIW, I haven't ever encountered this problem. Could it be permissions
related (the dir is there but svn doesn't have read/write access) or
possibly the result of another process (antivirus?) running on your
working copies?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Feb 21 15:22:03 2006

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

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