subversion 디렉토리별 리비전 관리

kmryu의 이미지

저희 팀은 얼마전부터 subversion 1.4.4버전을 윈도우 환경에서 tortoiseSVN과 함께 사용중입니다.
처음에 저장소 하나에 한개의 프로젝트 디렉토리를 만들고 trunk, branches, tags 디렉토리를 생성했습니다.
도중에 성격이 조금 다른 프로젝트가 생겨서 프로젝트 디렉토리를 하나 더 만들었습니다.
이제 저장소 URL의 루트아래엔 두개의 프로젝트 디렉토리가 생기게 되었습니다.

svn://192.168.1.14/
-projectA
----tags
----branches
----trunk
--------docs
--------src
--------contrib
-projectB
----tags
----branches
----trunk
--------docs
--------src

그런데 두번째 추가된 프로젝트내 소스가 변경되어 커밋을 해보니 리비전이 1부터 시작되는것이 아니라
첫번째 프로젝트의 리비전까지 증가되더군요.
몇가지 귀찮은 문제로 하나의 저장소에서 두개의 프로젝트를 별도의 리비전으로 관리하려했는데 안되는듯 합니다.
두 프로젝트는 전혀 관련이 없는것은 아니지만 빌드에 서로 영향을 미치지 않아서 리비전은 따로 관리하는게 맞는게 아닌가 싶습니다. 다른 분들은 이런 상황에서 어떻게 하시는지 궁금합니다.

ps.
질문을 조금 수정했습니다. 답변주신분들께 감사합니다.

ktd2004의 이미지

리비전의 증가에 너무 신경을 쓰지 않으셨으면 합니다.

/trunk - proj1 : 1,2,3,6,7,8,9,10
+ proj2 : 4,5,11

위와 같이 2개의 프로젝트의 리비전이 각각 증가한다고 했을 때,

subversion에서의 모든 명령은
proj1의 1~11까지의 리비전을 요구하면 알아서 "1,2,3,6,7,8,9,10"의 리비전을 대상으로합니다.

결론적으로는 리비전의 증가에 신경을 쓰지 않으셨으면 합니다.

auditory의 이미지

하나의 repository로 관리할 경우 해당 repository의 모든

파일의 리비전이 같이 올라갑니다.

이렇게 하지 않으려면 repository를 별도로 만드는 방법이 있습니다.

아래 링크 참고하세요~

http://subversion.tigris.org/faq.html#multi-proj

댓글 달기

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