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

Re: Bug: .svn/format deleted upon upgrade

From: Branko Čibej <brane_at_wandisco.com>
Date: Mon, 24 Jun 2013 23:52:56 +0200

On 24.06.2013 23:24, Daniel Shahaf wrote:
> % /usr/local/svn-1.7.1/bin/svn co -q https://svn.apache.org/repos/asf/subversion/trunk/notes/commit-access-templates/
> % ls commit-access-templates/.svn
> entries format pristine tmp wc.db
> % svn upgrade commit-access-templates
> % ls commit-access-templates/.svn
> pristine tmp wc.db
>
> That's a bug: the 'format' file needs to stay (with value "12\n") so
> that 1.6 clients recognize the working copy as a working copy. There
> also exists third-party code[1] which relies on the existence of
> .svn/format to identify working copies efficiently.
>
> Haven't looked yet into a fix.

And the entries file needs to remain there, too. A version-12 format
file and a 3-byte entries file (containing just "12\n") are breadcrumbs
for pre-1.7 clients. What's more, when we create a new working copy, we
create those files, too.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-06-24 23:53:31 CEST

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.