Integrating SVN with Notepad++?

后端 未结 5 1610
没有蜡笔的小新
没有蜡笔的小新 2021-01-05 02:40

The version control in our office is nearly nonexistent, which has obviously led to lots of headaches. We\'d like to set something up with SVN and Notepad++... Anyone have a

5条回答
  •  感情败类
    2021-01-05 02:51

    Using Notepad++ v6.6.9, I've installed the aforementioned Tortoise SVN plugin v. 2.195, but there are two very useful additions to the information provided to be able to make proper use of this plugin:

    • If getting the error "Can't locate SVN information", you might need to update where it finds the TortoiseProc.exe-file. To update this goto Plugins > Tortoise SVN > TSVN - Open config file and update the file location to where you have this located in your installation. (Note that you might fiddle a little bit to be able to write to this file if you are not the administrator)
    • Secondly to get the project/solution commands working you need to update where to find the solution root, and this can be done like this:
      • Open the Plugins > SolutionHubUI > SolutionHubUI - Show
      • Name your new solution, i.e. "My solution", and possibly fill in the solution dir
      • Add an attribute where key is svn_root_dir, and the value is your base svn folder (i.e. without the .svn-part)
      • Hit Save solution, and connect the solution by typing tsvn into the connections part in the upper part of the window, and then do a Save connections

    After doing both of these my installation now gives me proper use of Tortoise SVN through Notepad++, and I can both do the project options, i.e. project update and project commit, and local file modifications, diffs, reverts, and so on.

    Do also note that since only one connection to tsvn is possible at the time, this means that if you want to change the main project/solution, you need to add multiple solutions and even more crucial make the tsvn connections point to the correct solution!

提交回复
热议问题