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

Re: question on summary stats after svn update

From: Paul Burba <ptburba_at_gmail.com>
Date: Mon, 28 Sep 2009 22:55:58 -0400

On Mon, Sep 28, 2009 at 9:56 PM, Edmund Wong <edmund_at_belfordhk.com> wrote:
> Hi,
>
> IIRC, after doing a 'svn update', if there are no updates,
> there should be a message that says (along the lines of)
> "At revision <revnum>". With the trunk version on
> Windows, I get the following:
>
> d:\svn\svn update
> Skipped '.'
> Summary of conflicts:
> Skipped paths: 1

Hi Edmund,

You'd get this message if d:\svn\svn is not actually a working copy,
which seems appropriate to me, but this is also the result when
updating a working copy format which is too old (which I'm guessing is
what is happening to you). This is confusing at best:

Using a 1.7.0=dev client:

  C:\SVN\src-branch-1.6.x>svn --version -q
  1.7.0-dev

svn st (and every other subcommand I tried*) gives an error and a
helpful suggestion to upgrade:

  C:\SVN\src-branch-1.6.x>svn st
  ..\..\..\subversion\svn\status-cmd.c:256: (apr_err=155036)
  ..\..\..\subversion\svn\util.c:960: (apr_err=155036)
  ..\..\..\subversion\libsvn_client\status.c:283: (apr_err=155036)
  ..\..\..\subversion\libsvn_wc\node.c:146: (apr_err=155036)
  ..\..\..\subversion\libsvn_wc\wc_db.c:4976: (apr_err=155036)
  ..\..\..\subversion\libsvn_wc\wc_db.c:3087: (apr_err=155036)
  ..\..\..\subversion\libsvn_wc\wc_db.c:1005: (apr_err=155036)
  ..\..\..\subversion\libsvn_wc\wc_db.c:384: (apr_err=155036)
  ..\..\..\subversion\libsvn_wc\upgrade.c:710: (apr_err=155036)
  svn: Working copy format of 'C:\SVN\src-branch-1.6.x' is too old (10);
  please run 'svn upgrade'

* Except svn update, which treats the old WC format as if it isn't a WC at all:

  C:\SVN\src-branch-1.6.x>svn up
  Skipped '.'
  Summary of conflicts:
    Skipped paths: 1

svn update should return the same error message as every other
subcommand, unless I'm missing something.

Paul

> Shouldn't it be:
>
> d:\svn\svn update
> At revision 39663.
>
> Or did I miss some discussion pertaining to this?
>
> Thanks
>
> Edmund

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2401452
Received on 2009-09-29 04:56:16 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.