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

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

From: Maciej Jaros <maciej_at_mol.com.pl>
Date: Fri, 7 Sep 2012 11:33:25 +0200

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).
Received on 2012-09-07 11:34:11 CEST

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.