VisualSVN Server configuration and use of graphics

2009-12-28  来源:本站原创  分类:Development  人气:76 

VisualSVN Server is installed after the installation process [see here], run VisualSVN Server Manger, the following is the start screen: Well, here I have to add a code base [Repository], as follows: as shown above, create a new code library , shown below the text box, enter the code library Name: Note: In Figure CheckBox If selected, the following code library StartKit create trunk, branches, tags three subdirectories; not selected, only create an empty code library StartKit. Click the OK button, the code base is created successful. After creating the code base, there is no content in it. In this tutorial I will explain how to move into the second part of the source code. Here, we begin the security settings, right-click on the left side of Users: Enter the above information, click OK, we create a user. Accordance with the above process were added user Developer1, tester1, manager1, well, we started to add these users to create projects where we have: Click the image above the "Add ..." button, choose the next diagram we just add users click the OK button: Note: You may notice in the following diagram Groups, yes, you can first create a group, add the user to each group, then the group authorization, the operation is relatively simple, in this slightly too. As shown below, respectively, or groups of users [authorize]: Click "OK" button, the above user has a different code base to access StartKit permission. Because the user is a new starter to the team who did not want him to submit to the new code in the code base, so he can read the code library code can not submit the code. tester1 are testers, not responsible for the coding, it is also read-only access. The Developer1 and manager1 is the developer and project manager, has naturally read, write permissions. In the actual project development process, Developer and tester is often not only one person, this time more convenient to use the group to authorize this we can look at their practice. Two, TotoiseSVN basic project management practices to use in the tutorial one, we must first sharpen his tools [Basic Tools], I have to explain how to install TortoiseSVN. In the above explanation has been talked about how to use VisualSVN Server, and today I want to say is, TortoiseSVN simple to use. First, check the source code to the SVN server if we use Visual Studio to create the folder StartKit a project, we want this project's source code checked into SVN Server on the code base, the first right-click StartKit folder At this time, right-click menu as shown below: Figure 2-2-1 Click Import, pop up the following form, which http://zt.net.henu.edu.cn is the server name, svn is the root directory of the code repository , StartKit is in the last tutorial we added a code library: Note: the lower left corner of the CheckBox, first check the source code does not work, but in the future when you submit the code is very useful. Figure 2-2-2 Click the OK button, will pop up the following form, ask for credentials: Figure 2-2-3 in the form above to enter a user name and password, click the OK button: Figure 2-2-4 Figure above shows, well, the source code has been successfully checked in SVN server. This time the team members can move out the source code on the SVN server to your machine. Second, check out the source code to create a local folder on the local StartKit, right-click on Checkout, pop-up form as shown below: Figure 2-2-5 in the image above URL of Repository: text box under svn server code library's address, other default, click the OK button to start check out the source code. Note: image above Checkout Depth, there are four options, namely, to move out of all, just check out the next level subdirectories and files, just check out files, check out the empty project only, the default is the first. The above example, we can also use the web to access the code base, in the browser, enter the http://zt.net.henu.edu.cn/svn/StartKit/ dialog will pop up this time, to enter a user name and password, you can browse through the validation code library content. Get! Source code has been successfully checked out to just the new StartKit directory. Open StartKit directory, you can see the folder structure shown below: Figure 2-2-5 Once a file or folder you made any changes, then the file or folder opportunity to change the display picture. I modified the figure in which the two files: Figure 2-2-7 we look at the different states corresponding to the picture: Figure 2-2-8 we already know how to check the source code to the SVN server, how from the server check out the code to the machine, but also easy to understand the patterns corresponding to different states of friends. Third, submit the modified files to the SVN server in the above figure 2-2-7, I modified the two files in the Model file ImageInfo.cs and NewsInfo.cs, Here's how to submit to the SVN server. Note: Submit the source code to the server, the code must ensure that the machine is the latest version, or it may fail to submit, or cause version conflicts. Click on the Model folder, right-click or the space under the Model Right-click the file, click on SVN Commit ... pop up the following form: Figure 2-2-9 Click the OK button, pop-up form as shown below: Figure 2-2 -10 Fourth, add new files to the SVN server in Model files, add a new class file UserInfo.cs, the space under the Model Right-click the fileClick SVN Commit ..., and the submission mentioned above modified files to the SVN server, as you can. Alternatively, you can right-click on the file UserInfo.cs, click on TortoiseSVN =>> Add, pop-up form as shown below: Figure 2-2-11 selected UserInfo.cs file, click the OK button, so do not submit this document to the SVN server, but this file is marked as the source code library files in a library, and its status is set to change state. After that, we once again SVN Commit this file can only be truly committed to the SVN server code base. Add files mentioned above are, in fact, the steps to add the folder is the same, can not say here. Fifth, to update the local code on the SVN server with the latest version of the same this is also very simple, as long as the need to update right-click on the folder or file in the space under the right-click, click SVN Update, on it. Note: The update operation may fail due to version conflicts, which can be combined [Merge], or using other methods to solve; may also be because the lock] [Get Lock failed, which is required to unlock [Release Lock]. Sixth, rename the file or folder, and modifications to the SVN server as long as the need to rename the file or folder, right click, click TortiseSVN =>> Rename ..., enter the pop-up form in the new name and click OK button on it. This method is not directly rename, but the file or folder with the name after renaming the name, but also we need to use SVN Commit submitted to the SVN server only after the rename. Seven, delete files or folders, and modifications to the SVN server is simple, you just delete a file or folder, then use SVN Commit to submit updates to the SVN server. Another way is you want to delete a file or folder, right click =>> TortoiseSVN =>> Delete to delete, this method is not directly deleted, but the status of a file or folder set to delete, also need to We use SVN Commit submitted to the SVN server only after the deletion. Description: In fact, the source code to move from your SVN server and start checking in every version of the data and documents, even if you have deleted, and can also be time to move out. These are just a few simple function of TortoiseSVN, in fact, far more than his capabilities, other functions you can use the process of gradually began to feel, some features in the following tutorial I will use that to tell you the time and the clear usage. Note: the source code to the SVN server when submitted, must not be submitted to bin, obj folders and other documents, or will be very troublesome. However, except for web project's bin directory, but the web project's bin directory to reference other projects do not need to submit the generated dll. A good practice: If the project contains a reference to other third-party assemblies, such as EnterpriseLibrary, FCKEditor etc., this time not a simple reference from their installed position, but your solution, add a Library directory, the need to copy the assembly here, and then quoted from the Library catalog, so what good he think about it!

相关文章
  • VisualSVN Server configuration and use of graphics 2009-12-28

    VisualSVN Server is installed after the installation process [see here], run VisualSVN Server Manger, the following is the start screen: Well, here I have to add a code base [Repository], as follows: as shown above, create a new code library , shown

  • VisualSVN Server's configuration and use graphics 2010-03-05

    VisualSVN Server's configuration and use graphics VisualSVN Server is free, and VisualSVN is free. VisualSVN is a SVN client, and the Visual Studio integrated, VisualSvn Server is the SVN server-side, including Subversion, Apache and user and rights

  • VisualSVN Server and TortoiseSVN client configuration and use [change] 2010-07-11

    1, VisualSVN Server's configuration and use server-side] [ [VisualSVN Server installed after the installation process to see where ], running VisualSVN Server Manger, the following is the startup screen: Yes, here I am to add a code library] [Reposit

  • VisualSVN Server's configuration and usage (transfer) 2010-07-21

    VisualSVN Server's configuration and usage (transfer) 1. Why use VisualSVN Server, instead of Subversion? Answer: If the direct use of Subversion, then the Windows system, to let it start with the system, we must package SVN Server to windws service,

  • VisualSVN Server build svn version control management 2010-04-28

    Why use VisualSVN Server instead of Subversion, I believe used Subversion Server will have a feeling, feeling for beginners will be more complicated. Subversion also install and configure Apache and general trac, sometimes in versions compatible with

  • VisualSVN Server build svn project management 2010-04-28

    Why use VisualSVN Server instead of Subversion, I believe used Subversion Server will have a feeling, feeling for beginners will be more complicated. Subversion also install and configure Apache and general trac, sometimes in versions compatible with

  • Ultra simple set up full-featured and easy to use svn server VisualSVN Server + ApachePasswd build full-featured ultra-simple and easy to use svn server VisualSVN Se 2010-07-28

    Ultra simple set up full-featured and easy to use svn server VisualSVN Server + ApachePasswd Ultra simple set up full-featured and easy to use svn server VisualSVN Server + ApachePasswd package Pre-installed: VisualSVN-Server-1.6.3.msi: http://www.vi

  • On a Windows platform using VISUALSVN SERVER quickly build SVN project 2011-06-18

    Recently reinstall the computer, before the svn build environment was no more, intend to re-build again. Taking into account the configuration you want to install a lot of things, I feel very cumbersome, so the Internet looking to see if there is no

  • MYSQL master-slave server configuration 2010-02-22

    windows under the master-slave configuration Achieve functional: A main server, B is from the server, the initial state, A and B in the same data, when A in the data is changed, B followed by corresponding changes also make the data A and B Informati

  • NFS server configuration 2010-04-13

    nfs, nis portmap service in the role of 7.1.4 RPC NFS support functions for the considerable number of different functions and will use a different program to start. Each feature will be enabled to start a number of ports to transmit data, the functi

  • linux use under one of several server configuration: nfs tftp 2010-04-18

    nfs server configuration: 1, install nfs server (usually on a PC machine with linux systems have just started) 2, create or modify / etc / exports configuration file [Sharing directory] [host name or IP (parameter, parameter)] [Sharing directory] [Ho

  • linux under one of several server configuration to use: nfs tftp 2010-04-18

    nfs server configuration: 1, install nfs server (usually on a PC machine with linux systems have just started) 2, create or modify / etc / exports configuration file [Sharing directory] [host name or IP (parameter, parameter)] [Sharing directory] [Ho

  • A resin on the same server configuration multiple applications, start an independent 2010-04-21

    A resin on the same server configuration multiple applications, each application start-up independent. resin.conf <! - - Resin 3.1 configuration file. -> <Resin xmlns = "http://caucho.com/ns/resin" xmlns: resin = "http://caucho.com

  • java web development summary (1): Introduction & my server configuration to upgrade the road map 2010-05-01

    Foreword to do java development have four years, look back, and he is to sum up a need for accumulation and breakthrough time. Bowen in front of me there that my work experience, here to mention what I have experienced project: have been doing web de

  • Apache server configuration based on the Svn 2010-05-23

    Apache server configuration based on the Svn 1, prepared Apache (apache_2.2.10-win32-x86-openssl-0.9.8i.msi) (Download: http://www.apache.org ) Subversion (svn-win32-1.5.4.zip) (Download: http://subversion.tigris.org ) Second, the installation Instal

  • ubuntu svn server configuration 2010-05-29

    Original Source: https: / / wiki.ubuntu.com / SubVersion Original author: ubuntu.com Installation Fortunately, Subversion has been included in the main warehouse. Therefore, to install Subversion, you only need a simple operation: $ sudo apt-get inst

  • [Change] Windows systems under the Eclipse CVS server configuration and management of integrated development projects 2010-05-31

    Original link: http://hi.baidu.com/chenhj_brenda/blog/item/ad33470291f53f7e3812bb4c.html CVS server used its own, and now want to configure a cvs their services, did not do that very simple before, but after doing is very simple, huh, huh, is very si

  • centos5.3 System Configuration DNS server configuration Xiangjie 2010-07-13

    Transfer from: http://hi.baidu.com/waibaohuo/blog/item/cc99d611f2efa18a6438db42.html [Original] centos5.3 System Configuration DNS server configuration Xiangjie 2009-10-22 12:03 Article excerpts of some users of the relevant information in this thank

  • Linux, apache, tomcat server configuration 2010-07-21

    Jsp development environment under Linux, apache, tomcat server configuration process: (Unless specified: all reference to this article on the Internet, through personal practice and concluded that if the configuration has encountered a problem please

  • svn1.6.3 server configuration 2010-07-27

    svn1.6.3 server configuration detailed steps please attachments