svn 옵션 중에 Set file dates to the "last commit time" 이라는 옵션이 있다. svn update 를 받으면 파일 시간을 마지막 커밋 시간을 맞춰주는 옵션이다. 이 옵션을 사용하면 svn update 속도를 빠르게 해준다는 이야기가 있다.

예를 들어 A 가 12:49 에 ConsoleApplicationTest.cpp 를 commit 을 했고 B 가 그 뒤에 업데이트 받았다면 파일 시간이 12:49이 된다.

그런데 위 업데이트를 보면 B 가 12:51 에 빌드를 했다. 그리고 나서 업데이트로 수정 사항이 발생했는데 해당 파일의 파일 시간은 12:49 이다. 빌드 이전 파일인 관계로 수정 사항이 있었으나 VS 가 빌드를 하지 않는다. -_-

last commit time 옵션 사용할 때 주의하자.

https://stackoverflow.com/questions/2171939/how-can-i-keep-the-original-file-commit-timestamp-on-subversion

 

How can I keep the original file [commit] timestamp on Subversion?

I want to be sure that if I commit something in Subversion from one machine, and I checkout on another, I will get the same value for datetime and timestamp. Currently, I observed that the datetim...

stackoverflow.com

 

728x90

+ Recent posts