1

I have a repository of tools I have written in php and a repository of application code which will use them. I want the two folders to end up on the same level when I check them out. I tried to accomplish this by setting the svn:externals property for the application folder to

../toolkit http://(toolkit repo url)/

but apparently it can't do this with relative paths. I do not want the toolkit folder to be inside the application folder, I want them on the same level but doing

toolkit http://(toolkit repo url)/

will put the toolkit inside the application folder. Anyone know how I can do what I am trying to do here? (If it matters, I am doing this from the command line not tortise svn or some other program)

4

2 に答える 2

2

If I understand you correctly, then you want to achieve the following folder structure after adding the svn:externals property:

C:\SvnCheckouts\MyApplication\
                              src\
                              toolkit\

... with toolkit\ being added as a result of the external. In that case, you should add the external to the MyApplication\ folder.

If you're trying instead to add the external to the src\ folder, then you're out of luck because, although the following is a valid external definition ...

http://(toolkit repo url)/ ..\toolkit

... SVN will strip the slash and create a folder within src\ named ..toolkit (notice that I've placed the URL before the name of the intended external folder, as per best practice).

Hope this helps.

于 2012-05-27T23:23:57.027 に答える
1

私がやろうとしていることはSVN1.6で完全に合法であることがわかりましたが、SVN 1.4でやろうとしていたので、私がしなければならないのは新しいバージョンにアップグレードすることだけです。

于 2012-05-28T00:02:25.860 に答える