[root@fedora12 ~]# uname -a
Linux fedora12.local.lab 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux
[root@fedora12 ~]# umask 002
[root@fedora12 ~]# yum install subversion
[root@fedora12 ~]# yum update sqlite
# go to root of repositories
[root@fedora12 ~]# mkdir –p /srv/svn_repo/
[root@fedora12 ~]# chown -R root:svn /srv/svn_repo
[root@fedora12 ~]# chmod -R 775 /srv/svn_repo
uid=506(qxie) gid=506(users) groups=506(users),502(svn)
# user supplementary group for access control
[root@fedora12 ~]# id qxieuid=506(qxie) gid=506(users) groups=506(users),502(svn)
# enable Subversion+SSH - hide root of repositories
[root@fedora12 ~]# mv /usr/bin/svnserve /usr/bin/svnserve.bin
[root@fedora12 ~]# cat /usr/bin/svnserve
#!/bin/sh
# wrap in order to put root in by default
exec /usr /bin/svnserve.bin -r /srv/svn_repo "$@"
[root@fedora12 ~]# chmod 755 /usr/bin/svnserve
# create repo for my_project
[root@fedora12 ~]# svnadmin create /srv/svn_repo/my_project
# edit /srv/svn_repo/my_project/conf/svnserve.conf with below uncomments
anon-access = none
auth-access = write
[qxie@fedora12 ~]$ svn list svn+ssh://qxie@fedora12.local.lab/my_project
# source tree is going to import
[root@fedora12 ~]# find /tmp/svn_import/
/tmp/svn_import/
/tmp/svn_import/test_cases
/tmp/svn_import/test_cases/tags
/tmp/svn_import/test_cases/branches
/tmp/svn_import/test_cases/truck
/tmp/svn_import/test_cases/truck/test_cases
/tmp/svn_import/test_cases/truck/test_cases/dir
/tmp/svn_import/test_cases/truck/test_cases/dir/case2.txt
/tmp/svn_import/test_cases/truck/test_cases/case1.txt
# svn import
[qxie@fedora12 ~]$ cd /tmp/svn_import
[qxie@fedora12 svn_import]$ svn import test_cases svn+ssh://qxie@fedora12.local.lab/my_project -m "initial commit"
[qxie@fedora12 svn_import]$ svn import test_cases svn+ssh://qxie@fedora12.local.lab/my_project -m "initial commit"
[qxie@fedora12 ~]$ svn list svn+ssh://qxie@fedora12.local.lab/my_project
branches/
tags/
truck/
# create branch
[qxie@fedora12 ~]$ svn copy svn+ssh://qxie@fedora12.local.lab/my_project/truck svn+ssh://qxie@fedora12.local.lab/my_project/branches/dev_1_br -m "creating dev_1_br"
# create tag
svn copy svn+ssh://qxie@fedora12.local.lab/my_project/truck svn+ssh://qxie@fedora12.local.lab/my_project/tags/tag_R1.0 -m "creating tag R1.0"
# rapdisvn GUI
[root@fedora12 ~]# yum install rapdisvn
# checkout with rev
[qxie@fedora12 ~]$ svn co -r2 svn+ssh://qxie@fedora12.local.lab/my_project/branches/dev_1_br r2
# svn log
[svn_user@fedora12 ~]$ svn log -r1:2
------------------------------------------------------------------------
r1 | qxie | 2010-08-07 12:44:11 -0400 (Sat, 07 Aug 2010) | 1 line
initial commit
------------------------------------------------------------------------
r2 | qxie | 2010-08-07 12:46:17 -0400 (Sat, 07 Aug 2010) | 1 line
creating dev_1_br
# svn info
[qxie@fedora12 ~]$ svn info
Path: .
URL: svn+ssh://qxie@fedora12.local.lab/my_project/branches/dev_1_br
Repository Root: svn+ssh://qxie@fedora12.local.lab/my_project
Repository UUID: cbc29f11-edc8-4111-9b23-d15b91d85c83
Revision: 2
Node Kind: directory
Schedule: normal
Last Changed Author: qxie
Last Changed Rev: 2
Last Changed Date: 2010-08-07 12:46:17 -0400 (Sat, 07 Aug 2010)
[qxie@fedora12 ~]$ svn info -r2 svn+ssh://qxie@fedora12.local.lab/my_project/branches/dev_1_br
Path: dev_1_br
URL: svn+ssh://qxie@fedora12.local.lab/my_project/branches/dev_1_br
Repository Root: svn+ssh://qxie@fedora12.local.lab/my_project
Repository UUID: cbc29f11-edc8-4111-9b23-d15b91d85c83
Revision: 2
Node Kind: directory
Last Changed Author: qxie
Last Changed Rev: 2
Last Changed Date: 2010-08-07 12:46:17 -0400 (Sat, 07 Aug 2010)
Hollanda yurtdışı kargo
ReplyDeleteİrlanda yurtdışı kargo
İspanya yurtdışı kargo
İtalya yurtdışı kargo
Letonya yurtdışı kargo
EMFL
Portekiz yurtdışı kargo
ReplyDeleteRomanya yurtdışı kargo
Slovakya yurtdışı kargo
Slovenya yurtdışı kargo
İngiltere yurtdışı kargo
CFCPN
Angila yurtdışı kargo
ReplyDeleteAndora yurtdışı kargo
Arnavutluk yurtdışı kargo
Arjantin yurtdışı kargo
Antigua ve Barbuda yurtdışı kargo
R5CQ8T