You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Maciej Jaros <ma...@mol.com.pl> on 2012/09/07 11:33:25 UTC

Workaround for updating directories with external files (was: Updating root external files results in an error message)

Hi.

Since I have many boundles (use them as editions) with externals only 
that include various files I needed a workaround for the error. In brief 
the error occurs when you have an "external" that points to the same 
directory/repo (or at least this is my case).

The workaround script runs update on each file in given directory. Note 
that this will still fail if the external file is deeper inside some 
subdirectory.

Anyway here it is:
http://pastebin.com/s6X49J5f
Last command is Windows specific, but can be easily replaced or simply 
removed.

Regards,
Nux/Maciej.

BTW: To make it easier you can use Total Commander with params like: 
`svn_update_ext.py %P%N` (this will update folder under the cursor).