我使用Python 3.x和PyScripter编写我的脚本。我真的错过了PyScripter中的版本控制功能 - 我被Qt和MpLab X弄糟(我相信这是Eclipse的颠覆)。事情比以往容易。现在我在PyScripter中没有任何版本控制,但是我已经安装了Mercurial。我完全意识到我可以手动管理Mercurial,但我很懒惰,并且厌恶手动工作。我有其他任何平滑而顺利的选择吗?我准备好使用任何其他的vc系统(例如git) - 我只是想知道什么是最无痛的方式(正确的)。 / div>
我建议阅读这篇文章您只需使用PyScripter的文件资源管理器菜单,该菜单会自动启用Windows资源管理器中的所有功能。我安装了TortoiseGIT,您可以从PyScripter的文件浏览器窗口中看到启用了TortoiseGIT的版本控制功能(可能是@Helgi提到的TortoiseHg)。
浏览到您的python脚本存储的文件夹,进行更改,提交 - > master,所有内容都位于PyScripter内。非常简单!
p>
I'm using Python 3.x and PyScripter to write my scripts. I really miss a version control feature in PyScripter - I got spoiled by Qt and MpLab X (I believe this is a subversion of Eclipse). Things were easy back than. Now I don't have any version control in PyScripter, but I do have Mercurial installed. I perfectly realise I can manage a Mercurial by hand, but I'm lazy and hate manual work. Any other sleak and smooth options I have? I'm ready to use any other vc system (e.g. git) - I just want to know what is the most painless way (proper one).
解决方案I just read this post that suggests you can simply use the File Explorer menu of PyScripter, which automatically enables all of the functions from Windows Explorer. I have TortoiseGIT installed, and you can see that from PyScripter's File Explorer window, the version control features of TortoiseGIT are enabled (possibly TortoiseHg as mentioned by @Helgi).
Browse to the folder where your python scripts are stored, make changes, commit-->master, all from right inside PyScripter. Very simple!
更多推荐
PyScripter是否有Mercurial或Git版本控制插件?
发布评论