Answer the question
In order to leave comments, you need to log in
How to combine-combine TortoiseSVN and VisualSVN Server web interface?
Hello. Below are my questions about version control systems.
Question 0: What is the relationship between Subversion (also known as "SVN") and the TortoiseSVN+VisualSVN Server bundle?
Question 1. Please explain in more detail (step by step) or give a link to a resource / video / book on the solution of the following problem: How to correctly install VisualSVN Server and TortoiseSVN on a working PC and create a "Rep1" repository in VisualSVN Server?
Question 2. As I understand it, VisualSVN Server should emulate a real server on a working PC, is it possible, or do I really need to raise the server on my PC? Question 3. Please explain how to set the webviewer:revision and webviewer:pathrevision
properties for the "Rep1" repository root, so that the values of these properties are like webviewer:revision https://***.example.com/..../r%REVISION%
and webviewer:pathrevision https://***.example.com /.../r%REVISION%%PATH% (they point to some remote resource, so this question is related to question 2)?
Question 4. Is setting the values of the required properties from question 3 (and others) done with
TortoiseSVN or with the “svn propset” command? How exactly?
Question 5. How can I make it so that when working with a working copy in TortoiseSVN, I can
view any version of the TortoiseSVN Log Messages in the VisualSVN Server web interface, so that
did the command “View revision in webviewer” appear in Log Messages in TortoiseSVN, and when this command is executed, does the browser open with the current version?
Question 6. As far as I understand, to complete question 5, the following steps are required:
copying the URL "Rep1" from the VisualSVN Server Manager, setting the property values (as in question 4), am I right?
Question 7. How can I make sure that everything is done correctly (settings are selected correctly)?
You can only answer the questions you like, in any case, immensely grateful.
Answer the question
In order to leave comments, you need to log in
1. Open your repository using TortoiseSVN Repo Browser and find the trunk of the project we need.
2. Right-click trunk/ and select Show Properties.
3. In the dialog box that opens, click New | other.
4. In Property name enter webviewer:revision.
5. In the Property value, enter /!/#REPOSITORY-NAME/commit/r%REVISION%/r%REVISION%. This path is relative to server root. You can also enter an absolute path.
6. Click OK.
7. Repeat steps 3, 4, 5, 6, but for the webviewer athrevision property, for which we specify the value /!/#REPOSITORY-NAME/view/r%REVISION%%PATH%
Once these properties are set, you can svn checkout the working copy of trunk and the commands View revision in webviewer, View revision for path in webviewer become available in TortoiseSVN. The commands will only be available when calling the TortoiseSVN dialogs on the working copy. For any new branch from trunk, the required properties will automatically be copied when it is created.
By the way, there is also a book TortoiseSVN Beginner's Guide . AFAIK, it also includes a section on installing and initial setup of VisualSVN Server.
* VisualSVN Server -- SVN server for Windows.
* TortoiseSVN is the (best) SVN client for Windows.
TortoiseSVN is used to work with repositories hosted on a VisualSVN Server (well, or another SVN server).
Download the installer and install it: https://tortoisesvn.net/downloads.html
1. Download the server installer https://www.visualsvn.com/server/download/, run it, click to the very end and wait 30 seconds until the installation is complete.
2. Launch VisualSVN Server Manager.
3. In the launched console, right-click Repositories and select Create New Repository . Follow the steps of the opened wizard and the new repository will be created instantly.
If there is no Active Directory domain and you intend to use Subversion authentication&authorization, then you will also need to create a new user account that will be used to access the repositories. See Users on the left. You can read about the authentication types available in VisualSVN Server in the KB39 article: Understanding VisualSVN Server Authenticatio... .
Emulate? No "emulations"! :) VisualSVN Server is a complete Subversion server for Windows. VisualSVN Server works out of the box and is really easy to install and configure.
VisualSVN Server can be installed on both client and server Windows and side-by-side with other server applications. For production use in an organization, of course, you should use Windows Server. At the same time, there are no restrictions on installation on a laptop or other client workstation.
If you want your colleagues and comrades to access your computer to access repositories, no problem. Only, perhaps, the option of installing VisualSVN Server on a separate always-on wheelbarrow or on a virtual machine in Azure / Amazon.
Question 3. Please explain how to set the webviewer:revision and webviewer:pathrevision properties for the repository root "Rep1" so that the values of these properties are like this webviewer:revision https://***.example.com/. .../r%REVISION%
and webviewer:pathrevision https://***.example.com/.../r%REVISION%%PATH% (they point to some remote resource, so this question is related to question 2 )?
Question 4. Is setting the values of the required properties from question 3 (and others) done with
TortoiseSVN or with the “svn propset” command? How exactly?
Question 5. How to make it so that when working with a working copy in TortoiseSVN, you can
view any version from TortoiseSVN Log Messages in the VisualSVN Server web interface, so that
the “View revision in webviewer” command appears in Log Messages in TortoiseSVN and when you execute this command opens a browser with the current version?
Question 6. As far as I understand, to complete question 5, the following steps are required:
copying the URL "Rep1" from the VisualSVN Server Manager, setting the property values (as in question 4), am I right?
Why the hell are you so complicated, go to git already 2017 on the nose
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question