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

Re: "format" file in working copies

From: Barry Scott <barry_at_barrys-emacs.org>
Date: Sun, 22 Mar 2009 17:58:23 +0000

On 20 Mar 2009, at 12:25, Greg Stein wrote:

> Jack,
>
> On IRC, I saw that you wrote:
>
> jackr: is there supposed to be no more .svn/format? because I'm in
> this weird loop: svn cleanup fails "can't remove
> blah/blah/.svn/format: no such file or directory" touch
> blah/blah/.svn/format; svn cleanup; "can't remove
> some/other/.svn/format".......
>
> And there is a relatively easy answer to that, contained in STATUS,
> slated for fixing in 1.6.1:
>
> * r36302
> Fix a small problem in the loggy upgrade process. Some v10
> working copies
> have .svn/format, and some don't. The *intent* is to remove the
> file if
> present, so make the code match.
> Justification:
> If change-svn-wc-format.py is used to downgrade a working copy
> from 1.6 to 1.5 format, the script does not add the format file,
> rendering 1.6 clients unable to update the working copy again:
> "svn: Can't remove file '.svn/format': No such file or directory"
> Since the presence of that file has been deprecated for ages,
> let's just apply this easy fix to 1.6 instead of tweaking the
> script.
> Votes:
> +1: rhuijben, stsp, arfrever, gstein
>
>
> I'm guessing you bounced back and forth between 1.6 and 1.5 on that
> working copy?
>

How about fixing change-svn-wc-format.py so that those of us that
use this in development can avoid this bug before 1.6.1 is released.

Barry

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1382489
Received on 2009-03-22 18:58:53 CET

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