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

Re: Bad error message if target repository directory does not exist

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 5 Aug 2016 21:11:08 +0200

On Wed, Aug 3, 2016 at 7:23 PM, Doug Robinson
<doug.robinson_at_wandisco.com> wrote:
>
> Folks:
>
> The issue is when create copy/branch/tag from a local working copy
> path using "svn copy", if the parent path of the copying target
> does not exist, the "svn copy" command fails with a misleading error
> message saying that the copy source (working copy directory) "is out
> of date" while that is not the case.
>
> The reproduce case (both client and server at 1.9.4):
>
> # svn info
> Path: .
> Working Copy Root Path: /root/repo05
> URL: http://192.168.56.202:8081/svn/repo05/trunk
> Relative URL: ^/trunk
> Repository Root: http://192.168.56.202:8081/svn/repo05
> Repository UUID: deadbeef-b0b0-ca1f-f0f0-123456789abc
> Revision: 1
> Node Kind: directory
> Schedule: normal
> Last Changed Author: user01
> Last Changed Rev: 1
> Last Changed Date: 2016-07-29 15:37:02 +0800 (Fri, 29 Jul 2016)
> # svn ls ^/branches
> # svn cp -mm . ^/branches/test/br1
> Adding copy of .
> svn: E155011: Commit failed (details follow):
> svn: E155011: Directory '/root/repo05/trunk' is out of date
> svn: E160013: File not found: transaction '1-2', path '/branches/test/br1'
> # svn mkdir -mm ^/branches/test
> Committing transaction...
> Committed revision 2.
> # svn cp -mm . ^/branches/test/br1
> Adding copy of .
> Committing transaction...
> Committed revision 3.
>
> The error message certainly confuses the issue.

Indeed, that can't be right. I reproduced it with 1.9.4 and with trunk_at_today.

Can you file an issue please?

-- 
Johan
Received on 2016-08-05 21:11:34 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.