如何使用 TextMate 将更改提交到 Subversion 存储库

发布于 2024-09-15 09:05:43 字数 356 浏览 12 评论 0原文

我现在只是尝试将 TextMate 作为极其强大但极其丑陋的 PHPStorm(在我的 Mac 上)的替代品。

除了 SVN 之外,一切都很好。我的工作副本已经在磁盘上,TextMate 正确地显示了我从该工作副本打开的任何文件的 SVN 元数据。

但是,现在我对文件进行了更改,并且想将其提交到存储库,当我说“提交”并在提交对话框上单击“确定”时,我得到的只是一个对话框窗口,显示“正在传输文件数据”和不确定的进度酒吧永远坐在那里。 (没有取消按钮来阻止它,所以我必须退出 TextMate 才能摆脱它。)

显然我太愚蠢了。我在哪里告诉 TextMate 我的 svn 凭据,以便它可以写入存储库?在我提交之前,它不是应该要求我提供用户名和密码吗?

I'm just trying out TextMate now as a replacement for the extremely powerful, but extremely ugly PHPStorm (on my Mac).

Everything is fine except for SVN. I have my working copy already on disk, and TextMate correctly shows me the SVN metadata for any file I open from that working copy.

But, now that I made a change to a file and I want to commit it to the repository, when I say commit and click OK on the commit dialog, all I get is a dialog window saying "Transmitting file data" and an indeterminate progress bar sitting there forever. (There is no cancel button to stop it, so I have to quit TextMate to get out of it.)

Obviously I'm too stupid. Where do I tell TextMate my svn credentials, so it can write to the repository? Shouldn't it have to ask me for the username and password before I can commit?

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

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

发布评论

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

评论(3

咿呀咿呀哟 2024-09-22 09:05:43

我也有同样的问题。我通过在 Mac 上打开终端并使用以下命令连接到远程 Subversion 存储库解决了该问题。

$ svn checkout https://yourusername.svn.beanstalkapp.com/

然后系统提示我输入 Beanstalk密码。当我通过终端建立连接后,Textmate SVN 捆绑包就按预期工作了。

I had the same problem. I fixed the issue by opening Terminal on my Mac and connecting to my remote Subversion repository with the command below.

$ svn checkout https://yourusername.svn.beanstalkapp.com/

I was then prompted for my Beanstalk password. Once I made the connection via Terminal, the Textmate SVN bundle worked as expected.

怎会甘心 2024-09-22 09:05:43

我刚刚遇到了同样的问题。

当使用 subversion 包 Commit (⌃⇧A + 5) 时,你没有任何反馈。
尝试使用“状态”(⌃⇧A + 0),然后单击“提交”按钮。
您可能会看到,正如我所看到的:

Error validating server certificate for 'https://svn.yourserver.com:443':

问题是:无法通过 textmate 提供用户输入。
如果你在终端中收到此消息,你会点击 p 永久接受(p),那就没有问题了,

这可能是答案:http://unfuddle.com/community/forums/5/topics/752
但到目前为止我不太明白把证书文件放在哪里
我一解决就告诉你。

I just had the same problem.

When using subversion bundle Commit (⌃⇧A + 5) you have no feedback.
Try Status (⌃⇧A + 0) instead and then hit Commit button.
You'll probably see, just what I saw:

Error validating server certificate for 'https://svn.yourserver.com:443':

the problem is: there's no way to provide user input via textmate.
if you get this message in terminal you'd hit p for accept (p)ermanently and ther'd be no issue

Here is probably the answer: http://unfuddle.com/community/forums/5/topics/752
but so far I don't quite understand where to put the certificate file
I'll ley you know as soon as I solve it.

余生共白头 2024-09-22 09:05:43

如果 svn 二进制文件已更新并且不再有权访问钥匙串,也可能会发生这种情况。从命令行尝试 svn diffsvn status 会起作用,但是如果您尝试测试提交,您将看到一个钥匙串弹出窗口:


screenshot

“始终允许”此访问,Textmate 将再次开始工作。

This can also happen in the case where the svn binary is updated and no longer has access to Keychain. Trying a svn diff or svn status from the command line will work, but if you try a test commit you'll get a Keychain popup:


screenshot

"Always Allow" this access, and Textmate will start working again.

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