Is there a Mercurial or Git version control plugin for PyScripter? [closed]

你。 提交于 2019-12-05 09:00:34

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!

Helgi

As far as I understand, PyScripter has no Mercurial plugin, but it has configurable custom tool support.

For Windows Mercurial GUI, I highly recomment TortoiseHg. It has a nice DAG renderer, visual annotate, file-by-file merge dialog, comes with KDiff3 bundled and integrates with other merge tools. It also displays overlays (clean, modified, added) on files in Windows Explorer.

For better integration with PyScripter, you can add certain calls to thg as custom tools:

  • thg ci — open commit window
  • thg blame <file> — annotate file (refer to the PyScripter to find out how to pass current file name to a tool)

Caveat: Without plugin, moved/renamed files won't be automatically noticed by Mercurial as such. You'll have to either find renames with the THG dialog, or move the files with Mercurial commands, outside of the IDE.

Maybe you will find this an acceptable substitute.

I use Mercurial simply out of personal preference, but Git is probably equally suitable. It sounds like you're looking for a GUI that provides menus and buttons for some use cases, but I would suggest using the command line interface because it is faster and standard across platforms.

A great introduction to Mercurial

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!