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

Re: svn commit --targets behaviour change in 1.7?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 13 Nov 2011 07:40:06 +0200

On Sunday, November 13, 2011 1:31 PM, "Fergus Slorach" <sugref_at_gmail.com> wrote:
> A bic4
> A bic4/schematic
> A bic4/schematic/thumbnail_128x128.png
> A bic4/schematic/master.tag
> A bic4/schematic/data.dm
> A bic4/schematic/sch.oa
> create a targets file containing:
> bic4
> bic4/schematic
> bic4/schematic/thumbnail_128x128.png
> bic4/schematic/master.tag
> bic4/schematic/data.dm
> bic4/schematic/sch.oa
> and commit the changes:
> > svn commit --targets=<file> -m 'Undelete bic4'
> This works in svn 1.6, but fails in svn 1.7 with the following message:
> svn: E200009: Commit failed (details follow):
> svn: E200009: '<path>/bic4/schematic' is not under version control and is not part of the commit, yet its child '<path>/bic4/schematic/sch.oa' is part of the commit
> I can workaround this by changing the contents of the target file but this looks
> like a bug, because 'bic4/schematic' is in the targets file.

Seems like a bug. I'll look into a regression test ensuring that no
error is given when the root of the added subtree ("oproot") is also an
explicit target.
Received on 2011-11-13 06:40:43 CET

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.