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

Re: AW: duplicate externals cause update error -- thoughts?

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 19 Nov 2012 15:20:09 +0000

Neels J Hofmeyr <neels_at_elego.de> writes:

> - To be able to issue a warning, the parsing function needs a new argument
> with a callback function (or something). Like this it can notify about more
> than one duplicate. It could still parse everything and return the parsed
> data, and externals updating could continue to work the same (stupid) way it
> does now: fifo style. Just adding a flag to the function to select between
> error and warning won't work, as that function does not have any way to
> issue warnings.

Perhaps the caller could catch the error, issue the warning, and skip
processing that svn:externals. The caller already has notification
support.

svn_wc_parse_externals_description3 is also used in upgrade. What do we
do there? I suppose we could do the same, issue a warning and skip
processing the svn:externals.

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-11-19 16:20:47 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.