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

"format" file in working copies

From: Greg Stein <gstein_at_gmail.com>
Date: Fri, 20 Mar 2009 13:25:02 +0100

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?

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1364214
Received on 2009-03-20 13:25:18 CET

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.