当前位置:网站首页>How SVN views modified file records
How SVN views modified file records
2022-07-03 17:04:00 【Brother Xing plays with the clouds】
There are mainly four orders ,svn log Used to display svn The author of this edition 、 date 、 Path, etc ;svn diff, Used to display row level details of specific modifications ;svn cat, Gets a file in a specific version displayed on the current screen ;svn list, Displays files that exist in a directory or a version .
The more common one is svn diff command . It can compare different versions 、svn Between version and local version Library , And check the effect of local modifications .
svn diff; # Nothing , Will adhere to local code and cache locally .svn The information under the directory is different ;
svn diff -r 3; # Compare your local code with the version number 3 Of all the files ;
svn diff -r 3 text.c; # Compare your local code with the version number 3 Of text.c The difference of documents ;
svn diff -r 5:6; # Compare versions 5 And version 6 The difference between all files ;
svn diff -r 5:6 text.c; # Compare versions 5 And version 6 Between text.c Changes in documents .
View the modified information using log Instructions , as follows :
svn log; # Nothing will show all versions commit Log information ;
svn log -r 4:5; # Just look at the version 4 And version 5 Log information ;
svn log test.c; # see file test.c Log modification information for ;
svn log -v dir; # View the log modification information of the directory , Need to add v;
View the contents of a file in a certain version , Use cat Instructions , as follows :
svn cat -r 4 test.c; # View version 4 Documents in test.c The content of , No comparison ;
There is no need to download to the local to view various information of the file , Use list Instructions , as follows :
svn list http://svn.test.com/svn # View files in directory ;
svn list -v http://svn.test.com/svn # View detailed directory information ( Revised by , Version number , File size, etc );
边栏推荐
- MySQL user management
- CC2530 common registers for port interrupts
- 远程办公之如何推进跨部门项目协作 | 社区征文
- [combinatorics] recursive equation (definition of general solution | structure theorem of general solution of recursive equation without multiple roots)
- visual studio “通常每个套接字地址(协议/网络地址/端口)只允许使用一次“
- 聊聊接口优化的几个方法
- C language modifies files by line
- Daily code 300 lines learning notes day 10
- Simulink oscilloscope data is imported into Matlab and drawn
- Informatics Olympiad all in one YBT 1175: divide by 13 | openjudge noi 1.13 27: divide by 13
猜你喜欢

Kotlin学习快速入门(7)——扩展的妙用

Talk about several methods of interface optimization

免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据

【Try to Hack】主动侦查隐藏技术

utfwry. Dat PHP, about ThinkPHP's method of IP location using utfwry address Library

网络安全web渗透技术

建立自己的网站(23)

Shentong express expects an annual loss of nearly 1billion

One brush 145 force deduction hot question-2 sum of two numbers (m)

The word backspace key cannot delete the selected text, so you can only press Delete
随机推荐
免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据
What is the material of sa302grc? American standard container plate sa302grc chemical composition
SSH连接远程主机等待时间过长的解决方法
Kotlin学习快速入门(7)——扩展的妙用
Network security web penetration technology
Thread pool: the most common and error prone component of business code
Arduino esp32: overall framework of lvgl project (I)
What material is sa537cl2? Analysis of mechanical properties of American standard container plate
Bcvp developer community 2022 exclusive peripheral first bullet
Deep understanding of grouping sets statements in SQL
[Jianzhi offer] 58 - ii Rotate string left
NLP four paradigms: paradigm 1: fully supervised learning in the era of non neural networks (Feature Engineering); Paradigm 2: fully supervised learning based on neural network (Architecture Engineeri
The largest matrix (H) in a brush 143 monotone stack 84 histogram
[combinatorics] polynomial theorem (polynomial coefficients | full arrangement of multiple sets | number of schemes corresponding to the ball sub model | polynomial coefficient correlation identity)
Daily code 300 lines learning notes day 10
C语言按行修改文件
UCORE overview
[combinatorics] polynomial theorem (polynomial theorem | polynomial theorem proof | polynomial theorem inference 1 item number is the number of non negative integer solutions | polynomial theorem infe
Overview of satellite navigation system
[combinatorics] recursive equation (characteristic equation and characteristic root | example of characteristic equation | root formula of monadic quadratic equation)