본문 바로가기

프로그래밍

TortoiseSVN에서 Export 메뉴 이용 시 주의

반응형

작업 폴더를 정리하면서 SVN 폴더도 옮겨야 해서 살펴보니, 그냥 복사하면 원치않는 파일까지 옮겨지고 Export 메뉴를 이용하면 된다고 하더군요. 그래서 Export 메뉴를 사용해서 안전하게 파일을 옮겼습니다.

https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-export.html

 

Exporting a Subversion Working Copy

Exporting a Subversion Working Copy Sometimes you may want a clean copy of your working tree without the .svn directory, e.g. to create a zipped tarball of your source, or to export to a web server. Instead of making a copy and then deleting the .svn direc

tortoisesvn.net

그리고 한동안 잊고 있다가 해당 폴더 내 파일이 필요해서 작업을 진행하는데, 파일이 없다고 에러가 후두둑 올라오더군요. 헛. 이게 뭐지~ 파일을 보니 최근에 작업한 파일들이었습니다. 새로운 폴더를 보니 파일이 진짜 없더군요.

 

다행스럽게도 이전 폴더를 완전 삭제하지 않아서, 다시 복구를 해놓고 파일을 그냥 복사해서 넣어주었습니다. 확인해보니 해당 파일은 이전 과정에서 commit 하지 않고 Export를 하면서 누락이 된 것 같습니다.

다시 기능을 보니 옮길 폴더 선택 시 unversioned 파일도 옮길 것인지 옵션이 있었네요. 너무 작게 있어서, 미처 보지 못했었나 봅니다.

By default, only the versioned files are exported, but you can use the Export unversioned files too checkbox to include any other unversioned files which exist in your WC and not in the repository.

Export 기능 사용 시 꼭 주의해주세요~~

728x90