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

Re: run "svn upgrade" ?

From: Hyrum K. Wright <hyrum_at_hyrumwright.org>
Date: Sat, 23 May 2009 20:37:57 -0500

On May 23, 2009, at 5:40 PM, Neels Janosch Hofmeyr wrote:

> The end of my last trunk build output:
>
> [[[
> [...]
> cd subversion/po ; /usr/bin/install -c -m 644 zh_TW.mo
> /home/neels/svn/prefix/trunk-prefix/share/locale/zh_TW/LC_MESSAGES/
> subversion.mo
> subversion/svnversion/svnversion . /repos/svn/trunk > \
>
> /home/neels/svn/prefix/trunk-prefix/include/subversion-1/svn-
> revision.txt;
> \
> if test "$?" != "0"; then \
> svnversion . /repos/svn/trunk > \
>
> /home/neels/svn/prefix/trunk-prefix/include/subversion-1/svn-
> revision.txt;
> \
> if test "$?" != "0"; then \
> echo "unknown" > \
>
> /home/neels/svn/prefix/trunk-prefix/include/subversion-1/svn-
> revision.txt;
> \
> fi; \
> fi;
> subversion/libsvn_wc/revision_status.c:113: (apr_err=155036)
> subversion/libsvn_wc/lock.c:1185: (apr_err=155036)
> subversion/libsvn_wc/lock.c:593: (apr_err=155036)
> subversion/libsvn_wc/lock.c:496: (apr_err=155036)
> subversion/libsvn_wc/lock.c:424: (apr_err=155036)
> svn: Working copy format is too old; please run 'svn upgrade'
> ]]]

This bit is trying to use the just-build svnversion to determine some
information. But it fails, since the working copy isn't a format 12
(created with the latest trunk) working copy.

>
>
> So, ok, I'll try:
>
> [[[
> [1.6.2]
> neels_at_dub:~/svn/trunk
> $ svn upgrade
> Unknown command: 'upgrade'
> Type 'svn help' for usage.
> ]]]

'svn upgrade' is only available on trunk, since all version prior to
1.7 automagically and silently upgrade the working copy format. Hence
the reason that 1.6.2 is confused about upgrading.

-Hyrum

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2353238
Received on 2009-05-24 03:38:43 CEST

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