TortoiseSVN -> Settings -> General 에서 Global ignore pattern에
"Debug Release *.aps *.ncb *.clw *.positions *.suo" 따옴표 안의 부분 추가

사용중인 프로젝트들에서는 저 정도는 ignore해도 문제없는 듯
문제가 생기면, 개별 프로젝트에서 해당파일 "Add" 또는 "Delete and add to ignore list" 이용해서 적절하게 변경해서 커밋
by sminchoi 2011. 1. 27. 13:17


by sminchoi 2011. 1. 27. 10:18

서브버전
저자
GARRETT ROONEY 지음 허영주 옮김
출판
에이콘출판 펴냄 | 2005.07.01 발간
소개
서브버전은 강력한 오픈소스 버전관리 시스템이다. 이 책은 다른 버전관리 시스템은 서브버전으로 전환하는 작업을 좀더 쉽게 진행할 수 있는 방법을 알려준다. 서브버전 사용법에 대한 기본사항이 필요한 독...  더보기
가격
19,000원 → 최저가 15,200원가격비교

by sminchoi 2011. 1. 27. 10:16
$ su -
$ apt-get install subversion
$ mkdir /svn-repos
$ groupadd svn
$ cd /svn-repos
$ svnadmin create project_name
$ chgrp -R svn project_name
$ chmod -R g+w project_name
by sminchoi 2011. 1. 26. 21:00
한 저장소 안에 프로젝트별로 관리하는 경우에는 리비전 넘버는 저장소 기준으로 증가하므로
프로젝트 별로 리비전 넘버가 띄엄띄엄 올라가게 된다. (바꿔말하면 굳이 리비전 넘버에는 신경을 안 써도 될듯)
다만 조금이라도 연관성이 있다던가 코드의 일부라도 공유할 가능성이 있다면 한 저장소 안에 프로젝트별로 해도 되나,,,
전혀 상관없는 프로젝트라면 차라리 저장소를 따로 만들어서 관리하는게 더 나을듯함

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

How do I manage several different projects under Subversion?

It depends upon the projects involved. If the projects are related, and are likely to share data, then it's best to create one repository with several subdirectories like this:

	$ svnadmin create /repo/svn
	$ svn mkdir file:///repo/svn/projA
	$ svn mkdir file:///repo/svn/projB
	$ svn mkdir file:///repo/svn/projC

If the projects are completely unrelated, and not likely to share data between them, then it's probably best to create separate and unrelated repositories.

	$ mkdir /repo/svn
	$ svnadmin create /repo/svn/projA
	$ svnadmin create /repo/svn/projB
	$ svnadmin create /repo/svn/projC

The difference between these two approaches is this (as explained by Ben Collins-Sussman <sussman@collab.net>):

  • In the first case, code can easily be copied or moved around between projects, and the history is preserved. ('svn cp/mv' currently only works within a single repository.)
  • Because revision numbers are repository-wide, a commit to any project in the first case causes a global revision bump. So it might seem a bit odd if somebody has 'projB' checked out, notices that 10 revisions have happened, but projB hasn't changed at all. Not a big deal, really. Just a little weird at first. This used to happen to svn everytime people committed to rapidsvn, when rapidsvn was in the same repository. :-)
  • The second case might be easier to secure; it's easier to insulate projects from each other (in terms of users and permissions) using Apache's access control. In the 1st case, you'll need a fancy hook script in the repository that distinguishes projects ("is this user allowed to commit to this particular subdir?") Of course, we already have such a script, ready for you to use.

by sminchoi 2011. 1. 26. 16:48
| 1 |