开发者

SVN externals property is missing in Tortoise SVN

Why is it when I right-click on a folder in Tortoise SVN, click on Properties and then Click 'New...' in the property name dropdown, the svn:external开发者_如何学编程s is missing?

I'm new to subversion/tortoise. However I want to evaluate the software. I wanted to try out the externals feature but I'm stumped at the first hurdle.

If I enter svn:external manually and then set the folder to point to the 'trunk' folder, I get the following error: Error parsing svn:externals property on 'file:///...' etc.

Where am I going wrong?


I recommend you re-install TortoiseSVN. The svn:externals option should be the third one listed in the dropdown (with the current version 1.6.7), when you go to add a new property.

Note: This option is visible when adding the property to your working folder, not when using repo-browser. I am not sure why TortoiseSVN makes this distinction, since the externals references do get committed to the repo.

I am guessing the reason your file:/// reference is failing is that when doing it through repo-browser, the SVN server (which is what you are actually making the change on at this point) is not able to see your local file system.

In general, I recommend that you makes changes in your working folder rather than directly on the repo via repo-browser. This way you can make sure you get things right before you commit.

You can read up more on externals here.


I believe your problem is at specifying the Property value.
Probably you're missing the name of the external folder.
When you open window for adding the properties, as a 'Property Name' enter svn:externals and as a 'Property Value' enter the name you want to give to the external folder followed by the path to your repository.
Example: MyExternalFolderName file:///...

Then after you update your Working dir, SVN will create new directory with name MyExternalFolderName and will copy files from 'file:///...'


You should enter "svn:externals" (notice the plural). There are some versions of Tortoise that don't display this property. Please post your properties content so we can better understand what may be happening.


Right click-> tortoise svn -> properties, new and select svn:externals

Is you wanna add it to the context, simply do:

Right click-> tortoise svn -> settings

In the general tab, select context menu and mark properties

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜