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

Re: svn commit: r1296045 - /subversion/trunk/subversion/libsvn_client/commit.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 02 Mar 2012 18:52:43 +0000

Hyrum K Wright <hyrum.wright_at_wandisco.com> writes:

>> rm -rf repo wc1 wc2
>> svnadmin create repo
>> svn mkdir -mm file://`pwd`/repo/{A,B}
>> svn co file://`pwd`/repo wc1
>> svn co file://`pwd`/repo wc2
>> svn ps p v wc1/A
>> svn ps p v wc2/B
>> svn ci -mm wc1 wc2
>> ../src/subversion/svn/commit-cmd.c:183: (apr_err=155007)
>> ../src/subversion/libsvn_client/commit.c:874: (apr_err=155007)
>> ../src/subversion/libsvn_client/commit.c:874: (apr_err=155007)
>> svn: E155007: Commit failed (details follow):
>> ../src/subversion/libsvn_client/commit.c:681: (apr_err=155007)
>> ../src/subversion/libsvn_client/commit.c:681: (apr_err=155007)
>> ../src/subversion/libsvn_wc/wc_db.c:1560: (apr_err=155007)
>> ../src/subversion/libsvn_wc/wc_db_wcroot.c:543: (apr_err=155007)
>> svn: E155007: '/home/pm/sw/subversion/obj' is not a working copy
>>
>> svn-1.7 ci -mm wc1 wc2
>> Sending        wc1/A
>> Sending        wc2/B
>>
>> Committed revision 2.
>
> Yes, the bots give similar output, but my OS X and Ubuntu boxes both
> seem to have no problems.

The commit works if a grandparent of wc1 and wc2 is a working copy:

   wc/ # unrelated working copy
      foo/ # unversioned
          wc1/
          wc2/

It fails if all ancestors are unversioned.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-03-02 19:53:21 CET

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