Windows SVN

Summary

In HBuilderX, you have to install the SVN plug-in before you can use SVN.

The SVN plug-in calls the external SVN command line tool, you need to install TortoiseSVN

TortoiseSVN Download, double click exe file after download and then follow the instructions to complete the installation.

Install SVN Plugin

HBuilderX Top menu, [Tool]-> [plug-in installation]. Open the plug-in installation window, Find SVN, Click [Install].

Windows SVN - 图1

SVN menu

In the project manager, select the project and right-click the menu to see the SVN related operation menu.

Note: HBuilderX SVN plug-in calls TortoiseSVN for all SVN operation, please search TortoiseSVN manual for more details.

Windows SVN - 图2

Shortcut Configuration

  1. Top menu, [Tool]—>[Custom Keybindings]
  2. All SVN command configurations can be seen at the bottom of the left side of the document
  1. // svn update
  2. //{"key":"","command":"ExternalCommand:SVN_UPDATE"},
  3. // svn commit
  4. //{"key":"","command":"ExternalCommand:SVN_COMMIT"},
  5. //svn show log
  6. //{"key":"","command":"ExternalCommand:SVN_LOG"},
  7. //svn delete file
  8. //{"key":"","command":"ExternalCommand:SVN_REMOVE"},
  9. //svn add file
  10. //{"key":"","command":"ExternalCommand:SVN_ADD"},
  11. //svn revert file
  12. //{"key":"","command":"ExternalCommand:SVN_REVERT"}

Select the required command and copy it to the right, configure your own shortcut keys

Example:

  1. [
  2. {"key":"command+alt+u","command":"ExternalCommand:SVN_UPDATE"}
  3. ]