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

Bug: .svn/format deleted upon upgrade

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Tue, 25 Jun 2013 00:24:31 +0300

% /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.

Daniel

[1] specifically, the zsh plugin vcs_info - which can be used eg to show
wc information in the prompt when cd'd into a wc.
Received on 2013-06-24 23:25:10 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.