[완료]SVN 브랜치가 되지 않습니다.

bejoy4him의 이미지

SVN에서 브랜치를 하려고 하는데, 잘 되지 않습니다.

콘솔상에서 다음과 같이 수행하면 에러가 발생합니다.

# svn copy svn://svn서버ip/원저장소 svn://svn서버ip/브랜치저장소 -m "Branch for a test"
svn: No repository found in 'svn://svn서버ip'

와 같이 나타납니다.

위에서 보면 알듯이, 그냥 svn 프로토콜로, ssh연결없이 바로 사용하였습니다.
어차피 내부 네트웍에서 사용할 것임으로 암호화는 크게 중요치 않은 상황입니다.

TortoisSVN에서 해도 마찬가지 에러가 발생합니다.
원 저장소에 소스 import,commit,check out 모두 정상적으로 동작합니다.
commit의 경우는 인증을 받은 상태에서만 가능하도록 설정되어 있습니다.

흠.. 뭐가 문제일까요?

ktd2004의 이미지

궁금한게 있는데요.
다음과 같이 원본과 브랜치 하려는 저장소가 틀린가요?

# svn copy <a href="//xx.xx.xx.xx/AAAA" rel="nofollow">svn://xx.xx.xx.xx/AAAA</a> <a href="//xx.xx.xx.xx/BBBB
" rel="nofollow">svn://xx.xx.xx.xx/BBBB
</a>

에러 메시지 만으로는 그런 것 같은데요..

다음과 같은 방식으로는 전혀 문제없이 동작해야 할 텐데요.... ^^;

# svn copy <a href="//xx.xx.xx.xx/AAAA/trunk" rel="nofollow">svn://xx.xx.xx.xx/AAAA/trunk</a> <a href="//xx.xx.xx.xx/AAAA/branches/test
" rel="nofollow">svn://xx.xx.xx.xx/AAAA/branches/test
</a>
bejoy4him의 이미지

얼마전에도 Trac관련한 질문을 답해주셨는데, 감사합니다.

버전 관리툴은 처음이다보니, 기본적인 곳에서 해메는 군요......
브렌치는 같은 저장소에 저장되는 것을 몰랐었습니다. ^^;;

저는 trunk, branch들은 각각 다른 저장소에 들어가는 것으로 생각했습니다.
하나의 저장소에 trunk,branch,tag가 모두 존재하는 거군요......

이전에 import할때 프로젝트를 바로 import 시켜 버렸더니 도대체 branch,tag를 어떻게 지정하는지 이해를 못했었습니다. 저장소를 같은 곳으로 하고 branch이름을 지정해주니 branch가 정상적으로 되네요...

추가적으로 테스트 해보니 처음부터 저장소에 trunk라는 경로를 지정해서 import하면 trunk라는 곳으로 import가 되는 군요...

이제야 좀 이해가 가네요... 답글 감사합니다.

ktd2004의 이미지

trunk,branch,tags에 특별한 의미를 부여하기 보다는
윈도우 디렉토리처럼 이해하시면 될 것 같습니다.
(물론 trunk,branches,tags는 각각 중요한 의미를 가지고 있습니다.)

그리고 subversion을 사용하고 있는 몇개의 프로젝트가 디렉토리를 어떻게 관리하는 지를 보면
각 디렉토리의 용도를 이해할 수가 있습니다.

* http://dev.textcube.org/browser
* http://trac.zeroboard.com/trac/browser
* http://dev.chameleo.org/dev/wiki/browser
* http://trac.lighttpd.net/trac/browser
* http://trac.edgewall.org/browser

댓글 달기

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