• Can’t convert string from when SVN is used in Linux


    When Linux uses SVN, there is an error prompt, that is, can’t convert string from ‘UTF-8’ to native encoding. This is mainly caused by the encoding format. The following small series will introduce the methods to solve this problem. In Linux, when SVN Co, SVN up or svnc cleanup, if there is a file with […]

  • How to install and configure SVN in CentOS 6.3


    Installation instructionsSystem environment: centos-6.3Installation method: Yum install (source code installation is easy to cause version compatibility problems)Install software: the system automatically downloads SVN software Check installed version Copy code The code is as follows: #Check if a lower version of SVN is installed[[email protected] /]# rpm -qa subversion#Uninstall old version SVN[[email protected] modules]# yum remove subversionInstall SVN[[email protected] […]

  • Pychart configuration SVN graphic tutorial (teach you by hand)


    1. Setting — version control — subversion, fill in the corresponding information according to the red font in the figure 2. The configuration is not foundsvn.exe, resolvent: 1. You need to reinstall SVN and click Modify 2. Command line dent tools will be marked with an X in front by default, select the second item, […]

  • Idea method steps for creating and merging branches with SVN


    1、 Create branch 1. Main version SVN directory structure 2. Create branch in idea Pop up confirmation box Click Yes to create the branch successfully! 3. Branch version SVN directory structure Log in to SVN server to view branches 2、 Switch branches in idea 1. Configure branches If there is no branch to select, you […]

  • Method of configuring agent for SVN client in CentOS


    I installed subversion using root via yum,: Yum – y install subversion After installation, there is a hidden folder under the Cd ~ directory. You can see. Subversion through LS – A. there is a servers file under this directory, in which you can configure the agent check code. You can configure all domains in […]

  • The tutorial of installing SVN server in CentOS system


    Subversion supports Linux and windows, most of which are installed under Linux.Svn server has two running modes: independent server and with the help of Apache. The two methods have their own advantages and disadvantages.Svn can store version data in two ways: BDB and FSFS. Because BDB mode may lock data when the server is interrupted, […]

  • Using vimdiff instead of SVN diff to view code


    In Linux, it’s very difficult to use SVN diff command to view the code modification directly, so we found a better solution on the Internet, that is to use vimdiff as the code viewing tool of SVN diff, especially for people who are used to using vim. When using the SVN diff command to compare […]

  • Svn user name, password view / delete method


    1. Check the user name and password of SVN: Find the user name, password file, are clear text, you can see Example: Linux ls ~/.subversion/auth/svn.simple 2ab598e9cb6d6d387612ae6e2035d589 cat ~/.subversion/auth/svn.simple/2ab598e9cb6d6d387612ae6e2035d589 …win7: C:\Users\ysk\AppData\Roaming\Subversion\auth\ svn.simple Next, view the document 2. Delete or reset SVN user name and password Under Windows: TortoiseSVN software, right-click the Menu Settings > saved data […]

  • How to install SVN version control software in CentOS


    Run the SVN command on the terminal. If it is not installed, the system will prompt for installation1. You need to install subversion software first Copy code The code is as follows: sudo apt-get install subversion 2. Create a folder as the root directory of the version library Copy code The code is as follows: […]

  • Installation and use of SVN server program on CentOS


    1. Environmentcentos6.4 2. Install SVN Copy code The code is as follows: yum -y install subversion 3. ConfigurationCreate a version Library Directory Copy code The code is as follows: mkdir /www/svndatasvnserve -d -r /www/svndata 4. Build version libraryCreate a new subversion project Copy code The code is as follows: svnadmin create /var/www/svndata/njlrxx Configuration allows users […]

  • An example of SVN limiting the number and format of message characters


    1、 Write a pre commit script ———————————— #/bin/bash REPOS=”$1″ TXN=”$2″ # Make sure that the log message contains some text. SVNLOOK=/usr/bin/svnlook LOGMSG=`$SVNLOOK log -t “$TXN” “$REPOS” | grep “[a-zA-Z0-9]” | wc -c` MSG=`$SVNLOOK log -t “$TXN” “$REPOS”` echo $LOGMSG #check log message more than 15_chars if [ “$LOGMSG” -le 15 ]; then # echo -e […]

  • Grep of three swordsmen


    Basic usage of grep Search criteria keyword tool grep[OPTIONS]PATTERN[FILE…] –Color: highlight the matching string -v: Display cannot be matched by pattern -i: Ignore character case -o: Show only strings that match -q: Silent mode, no information output -A: after, the last line matched -B: before, the first line matched to -C ා: context, matching to […]