작업 사본의 특정 파일 혹은 특정 리비전의 변경점을 확인하고 싶을 때 사용하는 명령어 입니다.
diff (di)
usage: svn diff [-r N[:M]] [TARGET]
아래 예는 리비전 5부터 최신 리비전(head)까지의 변경점을 출력합니다.
$ svn diff -r 5:head
Index: uc/test.php
===================================================================
--- uc/test.php (revision 0)
+++ uc/test.php (revision 12)
@@ -0,0 +1 @@
+hi
Index: uc/index.html
===================================================================
--- uc/index.html (revision 10)
+++ uc/index.html (revision 12)
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
-<title>이런</title></head>
+<title>저런</title></head>
WRITTEN BY
- 손가락귀신
정신 못차리면, 벌 받는다.
,