当前位置:网站首页>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 );
边栏推荐
- [2. Basics of Delphi grammar] 2 Object Pascal data type
- word 退格键删除不了选中文本,只能按delete
- Thread pool: the most common and error prone component of business code
- C语言按行修改文件
- Execute script unrecognized \r
- 29:第三章:开发通行证服务:12:开发【获得用户账户信息,接口】;(使用VO类包装查到的数据,以符合接口对返回数据的要求)(在多处都会用到的逻辑,在Controller中可以把其抽成一个共用方法)
- 免费数据 | 新库上线 | CnOpenData中国保险中介机构网点全集数据
- Informatics Olympiad all in one YBT 1175: divide by 13 | openjudge noi 1.13 27: divide by 13
- What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material
- Squid 服务启动脚本
猜你喜欢

New features of C 10
![[try to hack] active detection and concealment technology](/img/43/d48f851268fec566ce0cc83bd9557e.png)
[try to hack] active detection and concealment technology

Why is WPA3 security of enterprise business so important?

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

Thread pool executes scheduled tasks

2022.02.14_ Daily question leetcode five hundred and forty

CC2530 common registers for port interrupts

New library online | cnopendata complete data of Chinese insurance institution outlets

The most complete postman interface test tutorial in the whole network, API interface test

Meituan side: why does thread crash not cause JVM crash
随机推荐
線程池:業務代碼最常用也最容易犯錯的組件
Idea configuration plug-in
[combinatorics] recursive equation (characteristic equation and characteristic root | example of characteristic equation | root formula of monadic quadratic equation)
Kotlin learning quick start (7) -- wonderful use of expansion
Hands on in-depth learning notes (XIV) 3.7 Simple implementation of softmax regression
数据分析必备的能力
美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃
C language string practice
Leetcode: lucky number in matrix
[2. Basics of Delphi grammar] 2 Object Pascal data type
Deep understanding of grouping sets statements in SQL
Free data | new library online | cnopendata complete data of China's insurance intermediary outlets
Squid service startup script
13mnnimo5-4 German standard steel plate 13MnNiMo54 boiler steel 13MnNiMo54 chemical properties
Web crawler knowledge day03
执行脚本不认\r
The way of wisdom (unity of knowledge and action)
CC2530 common registers for timer 1
比亚迪、长城混动市场再“聚首”
[combinatorics] recursive equation (constant coefficient linear homogeneous recursive equation | constant coefficient, linear, homogeneous concept description | constant coefficient linear homogeneous