Creating a repository on iSeries

Use this procedure to create a repository on iSeries. There are a number of native commands available on the iSeries menu to create a repository. The menu can be accessed by the command go svnsetup. The library where you installed subversion must be in your library list. In this procedure, the top folder structure in the IFS\\seli4999\root\repository\M3_folder_v1 will be used as an example.

  1. Create a top level sub-folder in the IFS using this command:

    cfgsvn run(*yes) root('/repository')

  2. Check that the folder was created as you expected using this command:

    wrklnk obj('/repository')

    The output will be:

    Directory . . . . : /repository
  3. Create the actual repository using this command:

    crtsvnrep path('/repository/M3_folder_v1')

  4. Run this command:

    wrklink obj('/repository/M3_folder_v1')

    The output will be:

    Directory . . . . : /repository/M3_folder_v1
    
    Opt 		Object link 			Type 						Attribute		 Text
    						conf 										 DIR
    						dav 										 	DIR
    						db 												 DIR
    						format 						   STMF
    						hooks 										DIR
    						locks 										DIR
    						README.txt 					STMF