Subversion upgrades of existing dirs

Garrett Cooper yanegomi at gmail.com
Thu Dec 22 22:17:16 UTC 2011


On Thu, Dec 22, 2011 at 12:55 PM, Sean Bruno <seanbru at yahoo-inc.com> wrote:
> On Thu, 2011-12-22 at 09:33 -0800, Sean Bruno wrote:
>> How do I upgrade an existing svn tree with the current svn client.  I
>> don't really get what the client is trying to tell me here.
>>
>> [sbruno at ref9-xen32 /dumpster/scratch/sbruno-scratch/9]$ svn up
>> svn: E155036: Please see the 'svn upgrade' command
>> svn: E155036: Working copy '/dumpster/scratch/sbruno-scratch/9' is an
>> old development version (format 12); to upgrade it, use a format 18
>> client, then use 'tools/dev/wc-ng/bumpt
>>
>> [sbruno at ref9-xen32 /dumpster/scratch/sbruno-scratch/9]$ svn upgrade .
>> svn: E155019: Can't upgrade '/dumpster/scratch/sbruno-scratch/9' as it
>> is not a pre-1.7 working copy directory
>> svn: E150000: Missing default entry
>>
>>
>> [sbruno at ref9-xen32 /dumpster/scratch/sbruno-scratch/9]$ pkg_info
>> 44bsd-csh-20001106_3 The traditional 4.4BSD /bin/csh C-shell
>> ambit-2.0.39        Extended bash brace expansion to expand hostnames or
>> comman
>> apr-ipv6-devrandom-gdbm-db42-1.4.5.1.3.12 Apache Portability Library
>> bash-4.1.10         The GNU Project's Bourne Again SHell
>> bison-2.4.3,1       A parser generator from FSF, (mostly) compatible
>> with Yacc
>> db42-4.2.52_5       The Berkeley DB package, revision 4.2
>> expat-2.0.1_1       XML 1.0 parser written in C
>> gdbm-1.8.3_3        The GNU database manager
>> gettext-0.18.1.1    GNU gettext package
>> libiconv-1.13.1_1   A character set conversion library
>> libtool-2.4_1       Generic shared library support script
>> m4-1.4.16,1         GNU m4
>> neon29-0.29.6_2     An HTTP and WebDAV client library for Unix systems
>> pkg-config-0.25_1   A utility to retrieve information about installed
>> libraries
>> sqlite3-3.7.7.1     An SQL database engine in a C library
>> subversion-1.7.2    Version control system
>>
>>
>
>
> Even more strange, on another machine in the cluster I can read and
> update my tree with subversion-1.7.1 ... but that version doesn't know
> how to upgrade the tree?  I'm so confused on this.
>
> [sbruno at crush /dumpster/scratch/sbruno-scratch/9]$ pkg_info |grep
> subversion
> subversion-1.7.1_1  Version control system
>
> [sbruno at crush /dumpster/scratch/sbruno-scratch/9]$ svn upgrade
> svn: E155019: Can't upgrade '/dumpster/scratch/sbruno-scratch/9' as it
> is not a pre-1.7 working copy directory
> svn: E150000: Missing default entry

>From what I've seen the originally reported error is usually the
result of two things:
1. I can't lock files, because the filesystem doesn't support locking.
2. I can't lock files, because of a permissions issue.
subversion 1.7 doesn't make the difference between these two cases
intuitive and easy to understand; you might need to ktrace -d the
process to figure out what the exact issue is (most likely the former
case based on earlier notes in the thread).
Cheers,
-Garrett


More information about the freebsd-hackers mailing list