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

svn commit --targets behaviour change in 1.7?

From: Fergus Slorach <sugref_at_gmail.com>
Date: Sun, 13 Nov 2011 13:31:05 +1300

For 'undelete' in svn, we do the following:

> svn rm bic4

> svn commit -m 'Test delete'
Deleting bic4/schematic

Committed revision 6

> svn merge --change -6 .
--- Reverse-merging r6 into '.':
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
--- Recording mergeinfo for reverse merge of r6 into '.':
  U .
--- Eliding mergeinfo from '.':
  U .

(The last two messages are new in 1.7)

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.

Thanks,

fergus
Received on 2011-11-13 02:25:42 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.