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

Re: [PATCH] cleanup fails on missing .svn/tmp

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-02-06 12:56:30 CET

On Tue, Feb 06, 2007 at 11:55:08AM +0100, Henner Zeller wrote:
> Hi,
>
> I tested what happens, if a .svn/tmp directory is missing:
> ----
> $ rm -rf .svn/tmp
> $ svn update
> svn: Your .svn/tmp directory may be missing or corrupt; run 'svn
> cleanup' and try again
> svn: Can't open file '.svn/tmp/entries': No such file or directory
> $ svn cleanup
> svn: Can't open directory '.svn/tmp': No such file or directory
> ---
> cleanup fails, because it cannot remove the tmp-directory it is about
> to rebuild
> (adm_files.c [svn_wc__adm_cleanup_tmp_area()]). So it didn't work as
> advertised ;-)
>

The last time this was brought up, the consensus seemed to be that this
wasn't something we wanted to attempt to clear up.

(one reason was that you have no way to know whether the tmp/ directory
actually was empty before it was removed)

See e.g. http://svn.haxx.se/dev/archive-2006-07/0217.shtml and
surrounding thread.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Tue Feb 6 12:56:42 2007

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

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