svn import

1 개요[ | ]

svn import
  • 폴더 전체를 repo에 밀어넣는 svn 명령어
  • 대상경로(PATH)에 있는 것들을 URL로 재귀적으로 커밋(Recursively commit)
PATH를 생략하면 현재폴더(.)로 가정함
svn import [PATH] URL

2 실습[ | ]

root@zetawiki:~# mkdir myproject
root@zetawiki:~# echo hello > myproject/greet.txt
root@zetawiki:~# svn import -m "New import" myproject svn://135.79.246.80/repo1 --username jmnote
Authentication realm: <svn://135.79.246.80:3690> 61048673-bd33-410c-9cdf-0b3bdfa143cc
Password for 'jmnote': ********

-----------------------------------------------------------------------
ATTENTION!  Your password for authentication realm:

   <svn://135.79.246.80:3690> 61048673-bd33-410c-9cdf-0b3bdfa143cc

can only be stored to disk unencrypted!  You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible.  See the documentation for details.

You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/root/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)? yes
Adding         myproject/greet.txt

Committed revision 1.

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}