Hi!

If you checkout the main repo with "no externals", this should work without 
error messages.
Then navigate to all directories where externals are referenced and edit the 
directory's property
svn:externals. (rightclick on the directory->tortoiseSVN->properties, select 
svn:externals -> edit, edit the path referenced)
Then update the repo (which will fetch all externals and check whether you made 
a mistake)
and commit if the update went smooth.

Just a hint: there are special shortcuts for "in this repo" (^) and "on the 
same server as this repo" (^/..) , so for most externals, I have not entered 
any host name.
See https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-externals.html 
:

"Relative to repository root
These URLs always begin with the string ^/ for example:
^/widgets/foo  common/foo-widget

This will extract http://example.com/svn/repos-1/widgets/foo into 
C:\Working\common\foo-widget.
You can easily refer to other repositories with the same SVNParentPath (a 
common directory holding several repositories). For example:
^/../repos-2/hammers/claw  common/claw-hammer

This will extract http://example.com/svn/repos-2/hammers/claw into 
C:\Working\common\claw-hammer.
"
Hope this helps.

Hartmut

Von: Raeev Arora via TortoiseSVN <[email protected]>
Gesendet: Dienstag, 19. Oktober 2021 08:13
An: TortoiseSVN <[email protected]>
Betreff: Correcting moved External repository paths (that no longer exist) in 
the current SVN Repository

Hello,

I am looking out for a way to update external projects links used within a 
current SVN project, so that no errors are thrown while downloading the 
repository.

Example of current reported error is:
Unable to connect to a repository at URL
 
'https://kkkvisualsvn.kkkus<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcrcvisualsvn.crcus.local%2Fsvn%2FDept197&data=04%7C01%7Chartmut.niemann%40siemens.com%7C73dd3b3172704006a8f908d992c77601%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637702207634119042%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=64kQS9IHHW1OdwPzanzHsREimcX%2FKMONQxYyY%2FhmgGE%3D&reserved=0>.local<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcrcvisualsvn.crcus.local%2Fsvn%2FDept197&data=04%7C01%7Chartmut.niemann%40siemens.com%7C73dd3b3172704006a8f908d992c77601%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637702207634119042%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=64kQS9IHHW1OdwPzanzHsREimcX%2FKMONQxYyY%2FhmgGE%3D&reserved=0>/svn/CmpDpt/Libraries/Vender_Libraries/STM_StdPeriph_Driver'

The old SVN path (for the external repositories), which cannot be accessed 
(because it does not exist), looks similar to
https://kkkvisualsvn.kkkus.local/svn/<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcrcvisualsvn.crcus.local%2Fsvn%2FDept197&data=04%7C01%7Chartmut.niemann%40siemens.com%7C73dd3b3172704006a8f908d992c77601%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637702207634128996%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4enXxKihZH0Kw7%2FU2V%2Bz2Q4GMfB5LMtImJbODfuvRKY%3D&reserved=0>aaa/xxx

Above link need to be changed to, where the external project copy exists on the 
moved / Current SVN:
https://tue-p-yyy.americas.swk.pri<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftue-p-yyy.americas.swk.pri%2F&data=04%7C01%7Chartmut.niemann%40siemens.com%7C73dd3b3172704006a8f908d992c77601%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637702207634128996%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rNciCG22U%2FWgYIAzWzdAb7Kddc63VHupiYgpejvlcJg%3D&reserved=0>/svn/aaa/xxx

Please suggest a SVN command and method to execute it, which shall help me 
archive what I am looking for. I want the change to be permanent and available 
on the SVN server as well.

Regards,
Rajeev
--
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/d4ca54a3-4bcb-4551-9f2c-f971e51eb1bbn%40googlegroups.com<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Ftortoisesvn%2Fd4ca54a3-4bcb-4551-9f2c-f971e51eb1bbn%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Chartmut.niemann%40siemens.com%7C73dd3b3172704006a8f908d992c77601%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637702207634138954%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IGd8AZxVEhk7RKZb6c3LRxGbi8gPuW7z5LkshcYX4j0%3D&reserved=0>.

-- 
You received this message because you are subscribed to the Google Groups 
"TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tortoisesvn/PR3PR10MB4240D00C23DC49A2A5145B15FCBD9%40PR3PR10MB4240.EURPRD10.PROD.OUTLOOK.COM.

Reply via email to