SVN How to view modified file records] Source: Linux Community Author: frogoscar

Source: Internet
Author: User
Tags diff svn

SVN How to view modified file records
[Date: 2014-11-20] Source: Linux Community Frogoscar [Font: Big Small]

There are mainly four commands, SVN log is used to show SVN version author, date, path, etc.; SVN diff, which shows the row-level details of a particular modification; SVN cat, gets a file in a specific version displayed on the current screen; SVN list, which displays a directory or a file that exists in a version.

The more common is the SVN diff command. It can compare between different versions, SVN versions, and local repository, and check the role of local modifications.

SVN diff; #什么都不加, the local code and the cache are persisted in the local. SVN directory for different information;

SVN diff-r 3; #比较你的本地代码和版本号为3的所有文件的不同;

SVN diff-r 3 text.c; #比较你的本地代码和版本号为3的text. c files are different;

SVN diff-r 5:6; #比较版本5和版本6之间所有文件的不同;

SVN diff-r 5:6 text.c; #比较版本5和版本6之间的text. c file changes.

To view the modified information, use the log command, as follows:

SVN log; #什么都不加会显示所有版本commit的日志信息;

SVN log-r 4:5; #只看版本4和版本5的日志信息;

SVN log test.c; #查看文件test. C Log modification information;

svn log-v dir; #查看目录的日志修改信息, need to add V;

To view a file content of a version, use the Cat directive, as follows:

SVN cat-r 4 test.c; The contents of #查看版本4中的文件test. c are not compared;

Instead of downloading the various information to the local view file, use the list directive, as follows:

SVN list http://svn.test.com/svn #查看目录中的文件;

SVN list-v http://svn.test.com/svn #查看详细的目录的信息 (revision, version number, file size, etc.);

--------------------------------------Split Line--------------------------------------

Example of subversion configuration in Linux http://www.linuxidc.com/Linux/2012-02/53109.htm

CentOS 6.2 svn build (yum install) http://www.linuxidc.com/Linux/2013-10/91903.htm

CentOS 6.5 Deployment Apache+svn http://www.linuxidc.com/Linux/2013-12/94315.htm

APACHE+SVN Build SVN server http://www.linuxidc.com/Linux/2013-03/81379.htm

Windows SVN Server Setup and use + client reset Password http://www.linuxidc.com/Linux/2013-05/85189p5.htm

Ubuntu Server 12.04 installs SVN and migrates Virtual SVN data http://www.linuxidc.com/Linux/2013-05/84695.htm

Ubuntu Server build SVN service and Migration method http://www.linuxidc.com/Linux/2013-05/84693.htm

Build SVN server http://www.linuxidc.com/Linux/2013-10/91271.htm with a network disk

--------------------------------------Split Line--------------------------------------

This article permanently updates the link address : http://www.linuxidc.com/Linux/2014-11/109617.htm

[Date: 2014-11-20] Source: Linux Community Frogoscar [Font: Big Small]

There are mainly four commands, SVN log is used to show SVN version author, date, path, etc.; SVN diff, which shows the row-level details of a particular modification; SVN cat, gets a file in a specific version displayed on the current screen; SVN list, which displays a directory or a file that exists in a version.

The more common is the SVN diff command. It can compare between different versions, SVN versions, and local repository, and check the role of local modifications.

SVN diff; #什么都不加, the local code and the cache are persisted in the local. SVN directory for different information;

SVN diff-r 3; #比较你的本地代码和版本号为3的所有文件的不同;

SVN diff-r 3 text.c; #比较你的本地代码和版本号为3的text. c files are different;

SVN diff-r 5:6; #比较版本5和版本6之间所有文件的不同;

SVN diff-r 5:6 text.c; #比较版本5和版本6之间的text. c file changes.

To view the modified information, use the log command, as follows:

SVN log; #什么都不加会显示所有版本commit的日志信息;

SVN log-r 4:5; #只看版本4和版本5的日志信息;

SVN log test.c; #查看文件test. C Log modification information;

svn log-v dir; #查看目录的日志修改信息, need to add V;

To view a file content of a version, use the Cat directive, as follows:

SVN cat-r 4 test.c; The contents of #查看版本4中的文件test. c are not compared;

Instead of downloading the various information to the local view file, use the list directive, as follows:

SVN list http://svn.test.com/svn #查看目录中的文件;

SVN list-v http://svn.test.com/svn #查看详细的目录的信息 (revision, version number, file size, etc.);

--------------------------------------Split Line--------------------------------------

Example of subversion configuration in Linux http://www.linuxidc.com/Linux/2012-02/53109.htm

CentOS 6.2 svn build (yum install) http://www.linuxidc.com/Linux/2013-10/91903.htm

CentOS 6.5 Deployment Apache+svn http://www.linuxidc.com/Linux/2013-12/94315.htm

APACHE+SVN Build SVN server http://www.linuxidc.com/Linux/2013-03/81379.htm

Windows SVN Server Setup and use + client reset Password http://www.linuxidc.com/Linux/2013-05/85189p5.htm

Ubuntu Server 12.04 installs SVN and migrates Virtual SVN data http://www.linuxidc.com/Linux/2013-05/84695.htm

Ubuntu Server build SVN service and Migration method http://www.linuxidc.com/Linux/2013-05/84693.htm

Build SVN server http://www.linuxidc.com/Linux/2013-10/91271.htm with a network disk

--------------------------------------Split Line--------------------------------------

This article permanently updates the link address : http://www.linuxidc.com/Linux/2014-11/109617.htm

SVN How to view modified file records] Source: Linux Community Frogoscar

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.