DreamWeaver CS5.5 和 TortoiseSVN 同时使用?
在我的 web/PHP 开发中,我使用 DreamWeaver CS5.5 作为 IDE,使用 TortoseSVN 作为 SVN 客户端,以及本地 LAMP 服务器 (EasyPHP)用于测试/查看。在我的日常使用中,这三者的区别对待:
- Dreamweaver 仅用于进行实际编码。
- Windows资源管理器用于浏览树和打开文件,以及通过Tortoise进行更新和提交。
- 我的普通Web浏览器用于访问本地LAMP主机上正在开发的站点
我有两个大显示器,感觉我有一个不错的工作流程。但我怀疑我“被困在”我一直以来的工作方式中,并且可能有更好、更有效的工作方式。
最近我一直在研究 DreamWeavers“站点”概念和 SVN 集成。尝试定义一个站点,将我的 trunk 文件夹中已有的 WC 作为“本地站点文件夹”,并在“版本控制”设置中使用相应的 SVN URL。那效果不太好。突然,所有文件夹在 TortoiseSVN 中都显示为已修改的。这两个客户端似乎没有很好地跟踪另一个客户端的更新/提交。
关于如何使用 DreamWeaver 和 SVN 有什么建议/最佳实践吗?可以同时使用TortoiseSVN吗? (毕竟 TortoiseSVN 似乎优于标记/分支、编辑图像文件等。)
In my web/PHP development I use DreamWeaver CS5.5 as my IDE, TortoseSVN as SVN client, and a local LAMP server (EasyPHP) for testing/viewing. These three are treated distinctively in my everyday use:
- Dreamweaver is only used to do the actual coding.
- Windows Explorer is used to browse the tree and open files, as well as updating and comitting through Tortoise.
- My ordinary web browser is used to access the site in development on the local LAMP host
I have two large monitors and feel that I have a decent work flow. But I suspect that I'm "stuck" with how I've always done it, and that there may be better and more efficient ways to work.
Recently I have been looking at DreamWeavers "site" concept and SVN integration. Tried to define a site, with the already existing WC of my trunk folder as "Local Site Folder", and the corresponding SVN URL in the "Version Control" settings. That did not work very well. Suddenly, all folders appeared as modified in TortoiseSVN. The two clients does not seem to keep good track of the updates/comitts in the other one.
Any advice/best practice on how to use DreamWeaver and SVN? Ss it possible to use TortoiseSVN at the same time? (After all TortoiseSVN seems superior to do tagging/branching, edit image files etc.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当然可以同时使用 Tortoise 和 DW 的内部 svn,但是这将涉及到你做事方式的一些调整,并且可能不是一个特别好的主意。
当您第一次设置 Dreamweaver 的 svn 时,它确实会在您的文件上设置一些位供其自己使用,这会导致您通过 Tortoise 看到的结果。如果您继续使用 DW,则必须分别使用签入和签出按钮来提交和更新。使用 Tortoise 来执行此操作通常最多会导致 DW 抱怨,或者最坏的结果是无法识别存储库。简而言之,最好只使用其中之一。
It's certainly possible to use both Tortoise and DW's internal svn at the same time but it's going to involve some adjustments on how you do things and probably isn't a particularly good idea.
When you first set up Dreamweaver's svn, it does set some bits on your files for its own use and that resulted in what you saw through Tortoise. If you continue to use DW you sort of have to use the check in and check out buttons to Commit and Update respectively. Using Tortoise to do it usually results in DW complaining at best or not recognizing the repository at worst. In short, it's probably better to just use one or the other.