2014-04-22 2 views

답변

0

패치을 생성하기 위해 cleartool diff을 사용하는 것이 좋으며 다른 개발자가 적용하려면 아카이브 (.zip)로 압축하여 우편으로 보낼 수 있습니다.

cleartool diff을 참조하십시오.

같은 것이라고 :

cleartool lsco -all -s -cview | xargs cleartool diff -diff_format -pred 

The -diff_format option causes both the headers and differences to be reported in the style of the UNIX and Linux diff utility, writing a list of the changes necessary to convert the first file being compared into the second file, as follows:

  • The first number (or range of numbers in the form n,n) indicates line numbers in the first file being compared.
  • The second value is one of the following: a d c. These indicate whether lines are to be added, deleted, or changed.
  • The second number (or range of numbers) indicates line numbers in the second file being compared.
+0

안녕 @VonC 나는 당신의 입력을 주셔서 감사하지만, 위 명령의 O/P 복사 붙여 넣기 같은 지루한 작업을해야 할 것입니다 매우 도움이되지 않습니다 나는 그것을 피하고 싶다. –

+0

@yanivx 관련 사본이 없습니다. 스크립트 전용 : 완전히 자동화되어야합니다. 그것들은 스크립트로 적용 할 수있는 고전적인 unx diff입니다. – VonC

+0

다음 오류가 발생합니다. 나는이 바보 같은 실수를 :(할 수있을 정도로 충분한 벙어리 수 있습니다 cleartool LSCO -all -s -cview | xargs를 cleartool 사랑하는 -diff_format -pred cleartool :. 오류 : 모든 참여자가 동일한 파일 형식이어야합니다 cleartool : 오류 : "/ vob/xxx/xxx /."는 디렉토리이지만 "/vob/xxxx/xxxx.xml"은 디렉토리가 아닙니다. –

관련 문제