当前位置:网站首页>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 );
边栏推荐
- IL Runtime
- [Jianzhi offer] 64 Find 1+2+... +n
- 數據分析必備的能力
- 图之深度优先搜索
- One brush 148 force deduction hot question-5 longest palindrome substring (m)
- CC2530 common registers for ADC single channel conversion
- 聊聊接口优化的几个方法
- Build your own website (23)
- Network security web penetration technology
- LeetCode 1656. Design ordered flow
猜你喜欢

What is the difference between 14Cr1MoR container plate and 14Cr1MoR (H)? Chemical composition and performance analysis of 14Cr1MoR

13mnnimo5-4 German standard steel plate 13MnNiMo54 boiler steel 13MnNiMo54 chemical properties

Leetcode: lucky number in matrix

美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃

大变局!全国房价,跌破万元大关

Take you to API development by hand

Network security web penetration technology

MySQL single table field duplicate data takes the latest SQL statement

Bcvp developer community 2022 exclusive peripheral first bullet

2022.02.14_ Daily question leetcode five hundred and forty
随机推荐
[mathematical logic] equivalent calculus and reasoning calculus of propositional logic (propositional logic | equivalent calculus | principal conjunctive (disjunctive) paradigm | reasoning calculus)**
[Jianzhi offer] 58 - ii Rotate string left
LeetCode 1656. Design ordered flow
CC2530 common registers for ADC single channel conversion
图之深度优先搜索
RF analyze demo build step by step
vs code 插件 koroFileHeader
[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
[combinatorics] recursive equation (constant coefficient linear homogeneous recursive equation | constant coefficient, linear, homogeneous concept description | constant coefficient linear homogeneous
基于主机的入侵系统IDS
What material is sa537cl2? Analysis of mechanical properties of American standard container plate
定义一个结构体Fraction,表示分数,用于表示 2/3, 5/6这样的分数
ucore概述
Thread pool executes scheduled tasks
CC2530 common registers for port interrupts
CC2530 common registers for port initialization
Interpretation of several important concepts of satellite antenna
One brush 146 force buckle hot question-3 longest substring without repeated characters (m)
手把手带你入门 API 开发
Mysql database DDL and DML