有没有办法自动将 svn 配置设置从服务器推送到客户端?

发布于 2024-08-03 07:46:50 字数 182 浏览 3 评论 0原文

有没有办法强制客户端使用钩子更新其本地 svn 配置?

我有 lin 和 win 客户,我想推出一套标准的忽略和自动道具。今天,我提供了一个配置文件并要求用户安装它们(win 为.reg 文件,linux 为conf 文件)。我想自动将它们刷新给客户。

有办法做到这一点吗? (我想不是,但我不得不问,因为这样会更好)

Is there a way to force the client to update its local svn configuration using a hook?

I have lin and win clients and I'd like to push down a standard set of ignores and auto props. Today, I provide a config files and ask the users to install them (.reg file for win and conf file for linux). I'd like to flush them down to the clients automagically.

Is there a way to do this? (I think not, but I had to ask because it would be nicer)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

神经暖 2024-08-10 07:46:50

我认为你想要的不可能。不过,请查看此脚本是否有帮助。

I don't think what you want is possible. However, see whether this script helps.

染柒℉ 2024-08-10 07:46:50

Subversion 中没有内置解决方案。但是,您可以编写预提交脚本来检查文件的属性。

mr-ats.tigris 上的一个名为 mr-ats 的项目中已经有这样一个脚本.org

http://guest:@mr-ats.tigris.org/svn/mr-ats/trunk/src/hooks/property-check/

但是我还没有使用它。

there is no build-in solution in subversion. However, you can write a pre-commithook script to examine the properties of your files.

There is already such a script in a project called mr-ats on mr-ats.tigris.org

http://guest:@mr-ats.tigris.org/svn/mr-ats/trunk/src/hooks/property-check/

However I did't used it yet.

旧时浪漫 2024-08-10 07:46:50

您可以通过组策略将注册表设置推送到登录域的 Windows 用户。您还可以在“所有用户”位置(例如 /etc、/usr/local/etc 或 C:\Documents and Settings\All Users\Application Data\Tigris\Subversion)设置配置文件。

You can push registry settings to Windows users logged on a Domain via Group Policy. You can also set a config file in the 'all users' location (E.g. /etc, /usr/local/etc or C:\Documents and Settings\All Users\Application Data\Tigris\Subversion).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文