manywaypark's Blog
개발, 검색, 함수

macport에서 git-svn 쓰기

카테고리 없음 2012. 3. 12. 17:10 by manywaypark
windows의 cygwin에서는 git-core package만 설하면 git-svn도 같이 설치되어 편하게 사용할 수 있었는데, mac의 macport에서는 git-core만 설치하면 git-svn이 설치되지 않는다.
다음과 같이 설치하면 된다.
sudo port install git-core +svn 

/opt/local/libexec/git-core/git-svn이 깔린 것을 확인 할 수 있다.
git-svn을 직접 실행해도 되지만 아마 PATH에 없을 것이다. 아래와 같이 git svn의 형태로 실행시키면 된다.
git svn clone [-s] http://url.to.svn.repo/

refs: 
 http://alecthegeek.wordpress.com/2007/09/20/getting-git-svn-working-on-the-mac/
 http://rajshekhar.net/blog/archives/343-git-svn-on-macports.html

happy hackin' 
problem:
원본 저장소는 svn이지만 git을 쓰고싶어서 git-svn을 사용하려 했는데
cygwin에 포함된 git-svn이 다음과같은 이상한 에러를 내면서 제대로 동작하지 않았다.

      0 [main] perl 4888 child_info_fork::abort: address space needed by 'cygsvn_client-1-0.dll' (0x13A0000) is already occupied


solution:
모든 cygwin process를 닫고 cmd에서 ash또는 dash에서 다음을 수행;
(exit all the cygwin processes and in the shell(ash or dash));

cd \cygwin\bin
$ ash
$ PATH=. rebaseall -v
......
foo/bar.dll new base = 1234, new size = 56
......


2013-04-10 윈도우 업데이트 실행 후에 동일 증상 나타났음 (아마도 root cause 인듯)

happy hackin'


1 
분류 전체보기 (306)
잡담 (20)
함수형 언어 (65)
emacs (16)
java (18)
tips & tricks (154)
사랑 (1)
가사 (0)
독서 (4)
mobile (6)
비함수형 언어 (2)

공지사항

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

04-24 15:38