cvs2svn....

puser716의 이미지

이와 관련해서 몇 번 질문을 드렸지만 답변이 없어 다시 한 번 올려 봅니다.

CVS를 SVN으로 변환하는 작업을 하고 있습니다. 물론 잘 안되서...

일단 환경은 다음과 같습니다.

[레드헷 7, 코어 5] 7에 있는 CVS 데이터를 5로 옮겨서 거기서 cvs2svn을 이용해 마이그레이션을 하고 있습니다.

CVS에서 옮긴 데이터는 SVN이 있는 곳에서 CVS를 설치하고 잘 돌아갑니다. 이를 확인 후 cvs2svn을 돌린 거구요.

첫번째 명령어

cvs2svn.py --use-cvs --existing-svnrepos --encoding=mbcs -s /home/svnrepo/prj_a /home/cvsrepo/prj_b

했을 경우 에러 발생합니다.

AttributeError: 'module' object has no attribute 'mbcs_encode'

그래 좀 찾아 봤더니....mbcs가 한글과 관련된 거 같은데 이 옵션을 윈도우에서 할 때 사용하는 옵션인거 같습니다. 그냥 웹에서 대충 훑워 봤을때...

그래서 이 옵션을 빼고 돌려 봤습니다.

cvs2svn.py --use-cvs --existing-svnrepos -s x:\svnrepo\prj_a x:\cvsrepo\prj_a

이렇게 하고 나서 다음과 같은 에러가 나옵니다.

----- pass 9 (OutputPass) -----
Starting Subversion Repository.
Starting Subversion r1 / 1515
Starting Subversion r2 / 1515
ERROR: svnadmin failed with the following output while loading the dumpfile:
svnadmin: 파일이 이미 존재함: 파일시스템 '/home/imsi/smaple/db', 트랜잭션 '235-2', 경로 'trunk'

모든 에러는 패스 9에서 나옵니다.

어쨌든 에러를 무시하고 TortoisSVN을 설치해서 체크아웃하면 일단 받아는 집니다. 하지만 로그가 제대로 보이지 않네요. 2005년 로그만 나오고 2006, 2007년 로그는 보이지 않습니다.

한글도 제대로 표현이 됐으면 좋겠고 로그도 제대로 보였으면 즉..정상적으로 마이그레이션이 됐으면 하는데...

좀 힘드네요....ㅠ.ㅠ

좋은 하루 보내세요~

puser716의 이미지

http://kldp.org/node/78398

===========================
후회하지 말자~

===========================
후회하지 말자~

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.