3

I have recently made use of the SrcSrv feature in the Debugging Tools For Windows, but have noticed that when I index the pdb with SVNIndex.cmd it does not pick up any of the files that are from an external link.

Any suggestions ?

SamB
  • 9,039
  • 5
  • 49
  • 56
Stephen Bailey
  • 1,931
  • 13
  • 20

1 Answers1

4

Finally i got some time again to figure everything out:

To also get the files included with svn:externals property indexed, you just have to add the directories of them to /source= switch! easier than i thought! so if you have an external in "Ext1" dir under your Projectdir, just call ssindex.cmd with /source=Projectdir;Ext1 and you get all files in Ext1 also indexed.

I wrote a simple perl script, that handles the creation of the commandline for me, so you dont have to add any new external entry.

HTH, Stefan!

StefanB
  • 286
  • 1
  • 5
  • Come on - you know you want to add the perl script in here :-) – Stephen Bailey Mar 09 '09 at 19:40
  • 1
    here it is: http://www.zeintlinger.at/srcindexer.zip Just hand over the projectdir and it should index every external too. there is not so much error handling in it, so check the output. (i have it under my postbuild actions ("srcindexer.cmd $(ProjectDir)") then you have output in build log. stefan – StefanB Mar 13 '09 at 09:43
  • Thanks muchly, will add it to my build scripts :-) – Stephen Bailey Mar 16 '09 at 21:53