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

svn export does not announce fetching of externals

From: Schmidt, Michael <Michael.Schmidt_at_mevis.fraunhofer.de>
Date: Wed, 12 Nov 2014 10:40:47 +0000

I have noticed that when I export something which contains externals, subversion only prints "Exported revision X" after fetching an external, in contrast to a checkout, where you get an announcement before fetching an external starts and where the message after fetching an external also explicitly states that an external was fetched. Here is the example of a simple checkout containing a folder A with a file test.txt and an svn:externals definition linking in this folder "A" under "A_External":

A checkout\A
A checkout\A\test.txt
U checkout

Hole externen Verweis nach >checkout\A_External<:
A checkout\A_External\test.txt
Externer Verweis ausgecheckt, Revision 8.

Ausgecheckt, Revision 8.

A export
A export\A
A export\A\test.txt
A export\A_External
A export\A_External\test.txt
Exportiert, Revision 8.
Exportiert, Revision 8.

Looking at the subversion sources, I found that there is code which should print a different message for the external in svn/notify.c, but it doesn't get executed because svn_client__export_externals(...) (in libsvn_client/externals.c) never notifies the start of an external (by passing svn_wc_notify_update_external to the notify callback).

Is there any chance that this behavior will be fixed? I'd like to analyze some checkout log files for externals, and the current log makes it very hard to properly handle nested externals (not that I would hope to see them, but I'd prefer to have something that will just work in any case)...

Best regards,
Received on 2014-11-12 12:02:35 CET

This is an archived mail posted to the Subversion Dev mailing list.