将 svn 与 Textmate 结合使用
来自具有成熟 svn 支持的 IDE(例如 Eclipse 和 Netbeans),我想知道将 svn 与 Textmate 结合使用的推荐方法是什么? 是否都是手动的,即使用命令行,或者是否有允许您在 Textmate 本身中进行差异/签入/合并/等的功能?
Coming from IDEs with full-blown svn support such as Eclipse and Netbeans, I'm wondering what is the recommended way to use svn with Textmate? Is it all manual, ie using the command line, or are there features that allow you to diff/checkin/merge/etc in Textmate itself?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
有一个 textmate 插件可以在这里找到: http:// www.reinventar.com/2008/07/svn-plugin-for-textmate/
那篇文章中提到的插件是 SVNMate
There is a plugin for textmate wich can be found here: http://www.reinventar.com/2008/07/svn-plugin-for-textmate/
The plugin mentioned in that post is SVNMate
Ciarán Walsh 已用 ProjectPlus 取代了 SVNMate - 除了 Subverison 之外,它还可以处理 Git、Mercurial、Bazaar 和 Svk。
Ciarán Walsh has replaced SVNMate with ProjectPlus -- in addition to Subverison it handles Git, Mercurial, Bazaar and Svk.
我从未真正使用过它,但是是否存在现有的 Subversion 捆绑包文本伴侣。 这对你来说还不够吗?
I've never actually used it, but isn't there an existing Subversion bundle in TextMate. Is that not adequate for you?
可以通过 ctrl-shift-a 访问 svn 菜单。 我发现这个包比在 eclipse 中使用 svn 有点不太直观,但它确实可以完成工作。 我遇到的一个问题是,您需要在项目中至少打开一个文件才能使用 svn 菜单选项。 我一处理完文件就关闭选项卡,所以这个问题已经出现过几次了。
The svn menus can be accessed through ctrl-shift-a. I find that this bundle is a bit less intuitive than using svn in eclipse, but it does do the job. The one gotcha that I've gotten caught on is that you need at least one open file in the project in order for the svn menu options to be available. I close my tabs as soon as I'm done with the files, so this has come up a few times.
尽管 Project Plus 非常适合快速直观地检查文件状态,但您可能仍然需要 SVN 捆绑包来进行差异和合并 - 我不得不说现有的 SVN 捆绑包处理得很好。
尝试查看合并选项; 您可以对差异进行并排比较,从任一文件中选择要包含在合并中的内容。
你不能做的是对任意文件进行差异 - 但有趣的是,你可以使用差异包来做到这一点。 这不是我需要经常做的事情,但它已经派上用场了几次。
Although Project Plus is great for quick visual checks on file status, you will still probably need the SVN bundle for doing diffs and merges - which I have to say the existing SVN bundle handles pretty well.
Try looking at the merge options; you can do a side by side comparison of diffs, choosing what you want to include in the merge from either file.
What you can't do is do diffs on arbitrary files - however you can do this using the diff bundle, funnily enough. It's not something that I need to do as regularly, but it has come in handy a few times.
Project Plus 是进行版本控制的 Textmate 方式;)
project plus is the textmate way of doing versioning ;)