Bolek Tekielski
Bolek Tekielski

Reputation: 1214

svn:externals for single file does not work

I have set up the svn:externals to get single file from repository, like so:

/svn/BuildScripts/build.xml build.xml

and when I run svn up I get

Fetching external item into 'build.xml'
svn: warning: Repository UUID '2b850f39-0897-4e1c-b099-849a384f3d4c' doesn't match expected UUID 'd4f4866e-acd6-4900-9c2e-0614c950fc97'

however build.xml does not appear in the checkout directory. Any idea what might be wrong? By the way I am using svn 1.6.18 (r1303927)

Upvotes: 0

Views: 772

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97282

You can see problem in plain English:

For some reason /svn/BuildScripts/build.xml exist in repository with UUID 2b850f39-0897-4e1c-b099-849a384f3d4c, which is not the same as d4f4866e-acd6-4900-9c2e-0614c950fc97, but file-based extenals must exist on the same repo (i.e share common UUID)

Test UUID (and other info) of /svn/BuildScripts/build.xml with svn info, show here svn pl for mount-point of externals (idrectory, for which you added externals definition), bind externals source to repo, using ^-syntax in URL

Upvotes: 1

Related Questions