SLOOP

[팁] 리눅스상에서 svn diff 비교 쉽게 하기

· 13년 전 · 3290

쉘상에서 svn diff 시 너무 많은 영역이 수정되었을때 + - 가지고만 비교 하기에는 한계가 있어서 vimdiff 를 사용 하여 svn 과 연동하는 방법입니다.


Example 7.2. diffwrap.sh

#!/bin/sh

# Configure your favorite diff program here.
DIFF="/usr/local/bin/my-diff-tool"

# Subversion provides the paths we need as the sixth and seventh 
# parameters.
LEFT=${6}
RIGHT=${7}

# Call the diff command (change the following line to make sense for
# your merge program).
$DIFF --left $LEFT --right $RIGHT

# Return an errorcode of 0 if no differences were detected, 1 if some were.
# Any other errorcode will be treated as fatal.
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
Linux 13년 전 조회 1,447
Linux 13년 전 조회 1,578
Linux 13년 전 조회 2,219
Linux 13년 전 조회 1,696
Linux 13년 전 조회 2,204
Linux 13년 전 조회 1,694
기타 13년 전 조회 1,823
Linux 13년 전 조회 2,562
Linux 13년 전 조회 1,507
JavaScript 13년 전 조회 2,445
Linux 13년 전 조회 2,102
Linux 13년 전 조회 1,565
기타 13년 전 조회 1,687
PHP 13년 전 조회 2,288
기타 13년 전 조회 3,291
Linux 13년 전 조회 1,419
Linux 13년 전 조회 1,522
Linux 13년 전 조회 2,284
Linux 13년 전 조회 1,776
Linux 13년 전 조회 2,802
Linux 13년 전 조회 1,309
Linux 13년 전 조회 1,798
PHP 13년 전 조회 1,742
Linux 13년 전 조회 1,590
Linux 13년 전 조회 1,304
Linux 13년 전 조회 1,774
Linux 13년 전 조회 1,868
Linux 13년 전 조회 1,386
JavaScript 13년 전 조회 5,216
Linux 13년 전 조회 2,774
🐛 버그신고