Many program developers have used or heard of version control software, such as Microsoft's Vss. But have you ever thought about building a simple version control platform for personal use on your own computer? Some people may think it is unnecessary, and some people think it is a good idea but installing a software like Vss is not worth the gain.
The author recently discovered the simplest construction method due to work reasons. Due to work needs, the department needs a version control software to manage the company's source code, and the open source software SubVersion is used. At this point, you may guess that I recommend everyone to install SubVersion. The guess is wrong, but it has something to do with SubVersion. Our department currently uses SubVersion, which I personally feel is very useful. At least our work requirements are met.
Because SubVersion was installed, I had nothing to do to study SubVersion’s third-party client plug-in TortoiseSVN. It turned out that TortoiseSVN can create a separate repository, so I suddenly wondered whether the repository created by TortoiseSVN could work without installing SubVersion. After trying to connect, I found that it worked the same as the SubVersion on the connecting server.
When I tested it, I created the version library on a USB flash drive at home, took it to the office computer and plugged in the USB flash drive (TortoiseSVN is also installed on the office computer), and it worked. Haha, the U disk is equivalent to carrying a removable version control library, and the size is quite small. In this way, as long as the TortoiseSVN plug-in is installed on the computer, you can use the version library on the USB flash drive to work. It is very convenient for personal version control needs. It has the characteristics of small size, simple operation and good reliability.
After thinking about it, why TortoiseSVN has the function of SubVersion alone? Since I am not specialized in studying SubVersion, I can only guess. It is estimated that SubVersion is somewhat similar to the Access database. As long as there is an Access file, it can be used on any Windows operating system with office software installed. Easy access. SubVersion may be similar to this. The repository is the Access file, and the various client plug-ins are office software.
The server client/client installation is a remote access technology provided by the SubVersion program, which allows various clients to remotely access the version library files on the server. The local repository does not require remote access so the plug-in can be operated directly.
Those who are interested can try to install TortoiseSVN. TortoiseSVN has a Chinese version (the official Chinese language pack needs to be installed), and there are detailed operating instructions in the help.