On Sunday, November 13, 2011 1:31 PM, "Fergus Slorach" <sug...@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.