如何使用SVNindex.cmd获取Srcsrv来索引外部文件?

时间:2022-04-07 20:45:22

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.

我最近在Windows调试工具中使用了SrcSrv功能,但是注意到当我使用SVNIndex.cmd索引pdb时,它不会从外部链接中获取任何文件。

Any suggestions ?

有什么建议 ?

1 个解决方案

#1


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.

要获取svn:externals属性索引包含的文件,您只需将它们的目录添加到/ source = switch!比我想象的容易!因此,如果您在Projectdir下的“Ext1”目录中有外部,只需使用/ source = Projectdir调用ssindex.cmd; Ext1,您也可以将Ext1中的所有文件编入索引。

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.

我写了一个简单的perl脚本,它为我处理命令行的创建,所以你不必添加任何新的外部条目。

HTH, Stefan!

#1


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.

要获取svn:externals属性索引包含的文件,您只需将它们的目录添加到/ source = switch!比我想象的容易!因此,如果您在Projectdir下的“Ext1”目录中有外部,只需使用/ source = Projectdir调用ssindex.cmd; Ext1,您也可以将Ext1中的所有文件编入索引。

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.

我写了一个简单的perl脚本,它为我处理命令行的创建,所以你不必添加任何新的外部条目。

HTH, Stefan!