1. [b]apt-get install svn[/b]
2. I wish the files under the directory:/home/lai/tmp_lai/wahhot_v2 token into svn control.
3. I choose the directory /home/lai/tmp_lai/svn_wah to be the svn root directory.
4. run the commond :
[b]svn import wahhot_v2 file:///home/lai/tmp_lai/svn_wah/v2 -m "Initial import"[/b]
to set up the svnroot data to control the files in wahhot_v2.
5. when we want to get a working copy of wahhot_v2, we just need to run:
[b]svn checkout file:///home/lai/tmp_lai/svn_wah/v2 ${your_destination}[/b]
you can work with svn version control in the dir ${your_destination}
6.then I import some other directory in the svn root:
[b]svn import someother file:///home/lai/tmp_lai/svn_wah/someother -m "Initial import"[/b]
7. I want to see how many projects are there in the svnroot:
[b]svn list file:///home/lai/tmp_lai/svn_wah/[/b]
2. I wish the files under the directory:/home/lai/tmp_lai/wahhot_v2 token into svn control.
3. I choose the directory /home/lai/tmp_lai/svn_wah to be the svn root directory.
4. run the commond :
[b]svn import wahhot_v2 file:///home/lai/tmp_lai/svn_wah/v2 -m "Initial import"[/b]
to set up the svnroot data to control the files in wahhot_v2.
5. when we want to get a working copy of wahhot_v2, we just need to run:
[b]svn checkout file:///home/lai/tmp_lai/svn_wah/v2 ${your_destination}[/b]
you can work with svn version control in the dir ${your_destination}
6.then I import some other directory in the svn root:
[b]svn import someother file:///home/lai/tmp_lai/svn_wah/someother -m "Initial import"[/b]
7. I want to see how many projects are there in the svnroot:
[b]svn list file:///home/lai/tmp_lai/svn_wah/[/b]
本文介绍了如何使用apt-get安装Subversion (SVN),并详细解释了如何通过SVN导入文件到版本控制系统中,包括设置根目录、创建工作副本以及查看项目列表等关键步骤。
1347

被折叠的 条评论
为什么被折叠?



