Proposals for initial import and project verification

Subversion 1.6.6 using the command line client

Import and verify the project for the first time.

I found that when I create a new project, I do the usual directory structure, i.e.

game_sys_proj
    /trunk
    /branches
    /tags

Steps:

1) I import game_sys_proj to subversion repository. 
2) Delete game_sys_proj directory. 
3) Checkout game_sys_proj project. 

This will create an exact duplicate of what I deleted.

I'm just wondering if there is another way to do this? What do other developers do when importing and checking for the first time?

Thanks so much for any suggestions,

+3
source share
1 answer

Instead of importing and deleting, you can use in-place validation. For example, if you created your repository in file:///var/svn/game_sys_proj, simply check the external line of the new repository for the current directory:

$ cd game_sys_proj
$ svn co file:///var/svn/game_sys_proj/trunk .
$ svn add foo bar baz # add all files/directories you want in version control
$ svn commit

. FAQ.

+4

Source: https://habr.com/ru/post/1763716/


All Articles