subversion 사용중 궁금해서요..

moonhyunjin의 이미지

$ pwd
/home/moon/dep
$ svn co svn://kldp.net/svnroot/sample samdir
...
체크아웃된 리비전 1.
$ cd samdir
소스 수정
$ svn commit -m "commit test"
svn: 커밋이 실패하였습니다:
svn: Connection is read-only

위에만 봤을때 ssh에 대한 정보가 없는거 같아서 .svn/entries을 수정해 줬습니다. svn을 svn+ssh로 바꿔주고 id도 있는거 확인했고요.

그러고 다시 시도 해도 안됩니다. 그래서 아래와 같이 checkout하고 commit했더니 잘됩니다.

$ svn co svn+ssh://id@kldp.net/svnroot/sample samdir

쓰기가 svn+ssh곳에서 svn으로 checkout하면 원래 commit 안되는건가요?

그리고 검색해보니까 kldp.net 패스워드 3번입력해야 된다고 하는데 저도 그러는데 아직 해결안되건가요?[/code]

nohmad의 이미지

svn info 명령을 통해 리포지터리 정보가 제대로 변경되었는지 확인해보세요. 가급적이면 서브버전 메타 파일을 직접 수정하지 말고 svn switch 명령을 이용하는 게 좋을 것 같습니다.

그리고 리포지터리를 바꾸는 등의 중요한 변경이 있을 때는 svn update를 해줘야겠죠~

ktd2004의 이미지

제가 알기로는 kldp.net의 read-only는 svn 프로토콜을 개발자(write 권한)의 프로토콜은 svn+ssh로 알고있습니다.

nohmad의 이미지

KTD wrote:
제가 알기로는 kldp.net의 read-only는 svn 프로토콜을 개발자(write 권한)의 프로토콜은 svn+ssh로 알고있습니다.

네.. 그런데 질문한 내용은 svn 프로토콜로 체크아웃한 BASE 버전을 리포지터리 정보를 고친 후에 svn+ssh 프로토콜로 커밋하고 싶다는 내용 같습니다. 제 기억으로 리포지터리 URL만 수정하면 문제 없었던 것 같습니다.

pynoos의 이미지

nohmad wrote:
KTD wrote:
제가 알기로는 kldp.net의 read-only는 svn 프로토콜을 개발자(write 권한)의 프로토콜은 svn+ssh로 알고있습니다.

네.. 그런데 질문한 내용은 svn 프로토콜로 체크아웃한 BASE 버전을 리포지터리 정보를 고친 후에 svn+ssh 프로토콜로 커밋하고 싶다는 내용 같습니다. 제 기억으로 리포지터리 URL만 수정하면 문제 없었던 것 같습니다.

정확히는

svn switch --relocate svn://kldp.net/ svn+ssh://kldp.net/

이런식으로 Root 부분만 인자로 넣어 주시면 현재 작업디렉토리의 entries 파일들을 찾아서 수정해줍니다.

그리고 세번 물어 보는 것을 막으시려면,
http://kldp.net/forum/forum.php?forum_id=2355
여기를 참고하세요. 약 하루정도 걸려 Cron 작업이 끝나면 자동으로 반영됩니다. cron이 도는 시각은 저도 잘.. :)

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.