× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



midrange-l-bounces@xxxxxxxxxxxx wrote on 09/10/2006 11:47:09 AM:

I just installed Subversion for OS/400 from
http://www.softlanding.com/subversion/index.htm. Thanks Mark Phippard
for providing this.  I've run through the setup several times trying
to get the repositories setup the way I want them. I want a repository
for each project. I also want the recommended trunk, tags, and
branches subdirectories setup. Below is what I tried. When I browse
the repository with Firefox I don't see the TTB directories. All I see
is "Revision 0: /". I was trying to match what is shown on page 20 of
the PDF doc provided with the save file.  How should I be setting up
the TTB directories?


We have our own mailing list at os400@xxxxxxxxxxxxxxxxxxxxxx  Might be 
better to post there.

Think of the Subversion repository as a database.  You cannot just add 
folders or files in the same IFS location that the repository happens to 
be stored.  You have to use a Subversion client to manipulate the 
repository.

If you want to do it all from a CL program, the easiest way to use the 
client, is via QSH command.  For example:

QSH CMD('/QSYS.LIB/SUBVERSION.LIB/SVN.PGM mkdir 
file:///home/subversion/repositories/project -m "Creating project"')
QSH CMD('/QSYS.LIB/SUBVERSION.LIB/SVN.PGM mkdir 
file:///home/subversion/repositories/project/trunk -m "Creating project"')
QSH CMD('/QSYS.LIB/SUBVERSION.LIB/SVN.PGM mkdir 
file:///home/subversion/repositories/project/tags -m "Creating project"')
QSH CMD('/QSYS.LIB/SUBVERSION.LIB/SVN.PGM mkdir 
file:///home/subversion/repositories/project/branches -m "Creating 
project"')

You can also do this with a CALL to the SVN program.  Each item becomes a 
parm to the program, and you have to null terminate each of the strings. 
For example:

CALL SVN PARM('mkdir' +
'file:///home/subversion/repositories/project' +
'-m' +
'Creating project')

The example does not show the x'00' you need to add to the end of each 
parm.

If you access the repository via the file:// protocol you need to do it is 
a profile that has authority to the repository files in the IFS.  The 
easier option is to have the SVNSERVE server running and do it via the 
svn:// protocol. 

Mark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.