Version controller SVN, CVS is two versions of the controller, need to be associated with the SVN, CVS server, SCM is in Xcode configuration version control of the place, the principle of version control is a and b at the same time to develop a project, a write the day after the code to submit the code to the server,b To do the first time from the server to get the latest version, you can continue to do, if
CVS version tree (
Revision tree ) Can be divided into different branches (
Branches ), Each branch can be an independent self-maintenance development line. Changes in a branch can be easily moved back to the trunk.
Each branch has a branch number (Branch Number), Which is composed of an odd number separated by "." In decimal format. Append an integer to the version number separated by the corresponding branch to create the branch number. You ca
Some SVN migration and backup work has been done in the company, so some work processes have been recorded
CVS to SVN
To avoid the impact of migration on other programs, all tools except \ 192.168.4.253 are stored in this migration.
\ D $ \ 2012.8.9cvs2svnMedium
1. Prepare the tool
A)Python-2.4.zip
B)Cvs2svn-2.3.0.tar.zip
C)Unxutils.zip
D)Rcs57pc1.zip
E)Cvsnt-2.5.03.2382.msi
F)Filezilla
2.Install
A)Python-2.4.3.msi to D: \ 2012.8.9cvs2svn \ Python
After using Mantis, I decided to use CVS to control Mantis modifications. When I checked out the PHP code, I found this information:
......#-------------------------------------------------# $ Revision: 1.2 $# $ Author: CVSUser $# $ Date: 2004/03/14 15:17:18 $## $ Id: strings_chinese_simplified.txt, v 1.2 2004/03/14 15:17:18 CVSUser Exp $......
After each modification is submitted, it will automatically change. Some instructions are found on the Int
1) Commit operation:The commit operation performs two local commit operations in sequence.Things:A) judge whether CR is equal to Sr. If Cr Then, submit the operation.B) Add 1 to both Sr AND Cr.2) update operation:The update operation updates modifications made by other users to the current update operation.Things:A) judge whether CR is equal to Sr. If Cr If no modification is made, the CR = Sr is updated and no operation is performed.B) Update Cr to make it equal to Sr.3) Update special operatio
The first time I got a project from the company
1: Select File> Import in myeclipse,
2: select project from CVS to enter
3: if this project does not exist on the local machine, select create a new repository location to enter
HOST: Address of the CVS server
Repository path: the complete path of the project on CVs
Fill in the information and select nex
Edit/etc/APT/sources. ListSudo VI/etc/APT/sources. ListUncomment the following two lines:DebHttp://cn.archive.ubuntu.com/ubuntu/Dapper universeDeb-SrcHttp://cn.archive.ubuntu.com/ubuntu/Dapper universe Uncomment the following two lines: update package:Sudo apt-Get update
Install CVSInstall CVS files:Sudo apt-Get install CVSInstall CVS server:Sudo apt-apt install CVSDWhen prompted in the CVSD Installation
The Python Perl script cannot be directly executed after it is submitted by CVS.
The Python Perl script cannot be directly executed after it is submitted by CVS.
The reason is that the line feed in Windows is different from that in Linux. At the time of submission, eclipse sets the ASCII format.
The solution is as follows: 1. Set the Eclipse project attribute and set the line feed type to Unix.
2
Mac setting environment variables and using the CVS command line:
Set environment variables at the command line:bogon:~ yanfa$cvsroot=:p Server:username@serveraddress:/home/cvsrootbogon:~ Yanfa$export CvsrootHowever, this is only valid for the current shell, and if you restart the shell, you must set the environment variable again. The way to make it permanent is:bogon:~ yanfa$ Vim ~/.bash_profileEnter Export cvsroot=:p server:username@192.168.0.100:
In the first part of a problem, about the project will compile the original file under the CVS directory also compiled into the class file, so will cause the upload class file problems. The two-day study found that the problem could be solved. The method is as follows:
Click on the Preferences under the window to see the following figure:
As the picture says, the CVS directory has been filtered, and the e
Previous training has been a Half-day CVS class, only know is version control, many people at the same time began to modify the code, feel very interesting, now know what is CVS,
CVS is a version control system, an important component of Source Configuration Management (SCM). Using it, you can record the history of sources files, and documents.
Version control
Project is almost finished, other applications to the existing project based on a few pictures and two of Chinese characters to go out to sell, the existing project will have to correct the bug, the establishment of 2 projects to merge too troublesome, decided to handle the branch management CVS.
Here are some of the basic questions that you are wondering:
1. Although only 3 pictures and 2 characters in a file need to be changed, the entire project
Data cleansing, using Python data to clean the CVS with Chinese characters, the intention is to use a dictionary corresponding to Chinese characters, that is, the key value is the Chinese characters, value is index, self-increment can be, using the dictionary data structure does not duplicate the key value of the attribute, the Chinese characters are mapped to the value index.The Python code is as follows: (CSV format for data)Import CSVDict2 = {} #CD
Snapshot gt; t
1. foxmail export cvs methods, tools-> Address Book-> Tools-> export-> Foxmail all address book directories;
2. Note: if the export field is Thderbird, select and export all the previous items on the mobile phone, use exel to open the file, and insert two columns in front of the mobile phone, which is also compatible with the Thuderbird Address Book field;
3. Enter iconv-f gb2312-t utf8 foxmail .csv> thunderbird.csv in Ubuntu to con
If you have the GNU autoconf Suite, you can generate the Configure configuration file yourself from the configure.in file. After downloading PHP from the CVS server and installing it, run Make-f build.mk in the root directory of PHP. (Again, unless you add the--enable-maintainer-mode option when you run configure, configure will not rebuild when configure.in changes.) So you have to change the configure.in to be updated manually. A phenomenon that can
features of CVs and solves some fatal disadvantages of CVS. So now most of them are using SVN.
What is the main role of SCM?
Version Control (version control and Product Data Management)
Others ---- (rarely used by programmers)
What are the main terms of SCM?
(Understand concepts)
Repository --- code repositoryWorkspace --- workbench (the directory for uploading and downloading code from the cli
First, configure the connection to the ingress server.
The above is just to confirm the configuration, the next is very important:
Log on to the (LOGIN) server first-click the toolbar admin-login or enter: CVs-D: pserver: anonymous@obe.cvs.sourceforge.net:/cvsroot/login Login In the CVS command window
Then check out (checkout): You can click Remote-checkout module and configure
The above column sh
Eclipse CVS Dialog box
I previously clicked on the file right-click Group--Update. The Update progress dialog box pops up, and then I click Work in the background. The progress bar is gone. I want the progress bar to appear in the middle of the screen now, what should I do?(Windows->show view-> Progress, just let the progress box appear below, I want to appear in the middle of the screen, just like before. )
Reply to discussion (solution)
Reset u
When detecting files in the library by TAG, any modifications made in the sandbox cannot be submitted to the remote library;If yes, you can modify the files in the corresponding CVS folder;For example, a file named firstdirectory is detected from the library by TAG.The folder contains the following three files:Firstfile.txtSecondfile.txtThirdfile.txtLater, the user modified the firstfile.txt file. Now I want to submit it to the database.In this case,
Tags: file data sp c ad r BS first dateWhen CVS Update-ad is used, terminal will display the following:P xx. vP xx. c? XX. v? XX. cA xx. vM xx. vU xx. vC XX. vThe first letter: p u? C m A stands for the following:? ====> Not in CVSA ====> new addition (added locally, but not commit)C ====> conflict (in case of a conflict, multiple people may edit the same file at the same time)M ====> modify (modified but not submitted)P ====> patch (similar to U, but
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.