2013-01-16 2 views
3

내 SVN 저장소의 일부를 새 위치로 마이그레이션하려고합니다. 나는 전체 저장소를 덤프 이제 관심의 내 폴더를 필터링합니다 :svndumpfilter - 지원되지 않는 덤프 파일 버전

$ svndumpfilter include sandwiches <dumpfile> filtered-dumpfile 

을하지만 나는 다음과 같은 오류 있어요 :

svndumpfilter: unsuported dump file version: 3 

내가 덤프 필터가 저장소 덤프 경우 작동하지 않는 말을 quite old article 건너 온을 --deltas 플래그로 생성되었습니다.

질문 : 델타가있는 덤프 파일과 함께 svndumpfilter을 사용할 수 있습니까?

답변

3

아니요, 불가능합니다. svndumpfilter은 분리 된 덤프와 함께 작동 할 수 없습니다.

확인 SVNBook :

The second useful option is --deltas. This option causes svnadmin dump to, instead of emitting full-text representations of file contents and property lists, emit only deltas of those items against their previous versions. This reduces (in some cases, drastically) the size of the dump file that svnadmin dump creates. There are, however, disadvantages to using this option—deltified dump files are more CPU-intensive to create, cannot be operated on by svndumpfilter, and tend not to compress as well as their nondeltified counterparts when using third-party tools such as gzip and bzip2.

+1

확실한 해결 방법은'--deltas' 옵션을 사용하지 않도록하는 것입니다 - (원래 저장소에 액세스 할 수없는 경우)로 덤프를 가져 임시 저장소를 만들고 다시 내 보냅니다. – blerontin

관련 문제