[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: Doug Robinson <doug.robinson_at_wandisco.com>
Date: Sat, 6 Aug 2016 07:05:44 -0400

Will do.

On Friday, August 5, 2016, Johan Corveleyn <jcorvel_at_gmail.com> wrote:

> On Wed, Aug 3, 2016 at 7:23 PM, Doug Robinson
> <doug.robinson_at_wandisco.com <javascript:;>> 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
>

-- 
*DOUGLAS B. ROBINSON* SENIOR PRODUCT MANAGER
*T *925-396-1125
*E* doug.robinson_at_wandisco.com
*www.wandisco.com <http://www.wandisco.com/>*
-- 
Learn how WANdisco Fusion solves Hadoop data protection and scalability 
challenges <http://www.wandisco.com/hadoop/wd-fusion>
Listed on the London Stock Exchange: WAND 
<http://www.bloomberg.com/quote/WAND:LN>
THIS MESSAGE AND ANY ATTACHMENTS ARE CONFIDENTIAL, PROPRIETARY, AND MAY BE 
PRIVILEGED.  If this message was misdirected, WANdisco, Inc. and its 
subsidiaries, ("WANdisco") does not waive any confidentiality or privilege. 
 If you are not the intended recipient, please notify us immediately and 
destroy the message without disclosing its contents to anyone.  Any 
distribution, use or copying of this e-mail or the information it contains 
by other than an intended recipient is unauthorized.  The views and 
opinions expressed in this e-mail message are the author's own and may not 
reflect the views and opinions of WANdisco, unless the author is authorized 
by WANdisco to express such views or opinions on its behalf.  All email 
sent to or from this address is subject to electronic storage and review by 
WANdisco.  Although WANdisco operates anti-virus programs, it does not 
accept responsibility for any damage whatsoever caused by viruses being 
passed.
Received on 2016-08-06 13:05:51 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.