Stefan responded:

> > Ok, it's in.
>
> Haven't seen any commit so far.

Got lost in the gazzillions I do 'cos I can't fully test locally? Look at
these:

http://cvs.apache.org/viewcvs.cgi/jakarta-gump/repository/apache-svn-sandbox.xml?rev=1.2&content-type=text/vnd.viewcvs-markup
http://cvs.apache.org/viewcvs.cgi/jakarta-gump/profile/gump.xml?rev=1.280&content-type=text/vnd.viewcvs-markup

I commit them first with a subject of 'Work on SVN'.

and then there is:

http://cvs.apache.org/repos/test/testdir/gump.xml

[Nice how SVN has viewcvs built in.]

> > Here is the rub, though. To try to make SVN handling similar to CVS
> > handling I add a 'dir' attribute onto the SVN entry in the project,
> > so <svn repository='apache-svn-sandbox' dir='testdir' gives:
> >
> >         http://svn.apache.org/repos/test/testdir/
>
> Just tell me how you want the command line to look and I'll take care
> of "traditional Gump".  Don't worry.  It can't be too hard.

Fair enough, thanks.

What I've chosen so far (and I'm avoiding things like username/password *for
now*) are these:

svn [update|checkout {complete url}] [--quiet| |--verbose] --non-interactive
[moduleName]

1) The complete URL is formed by taking the 'url' attribute in the
repository object and concatenating the 'dir' from the <svn object on the
module. [Right now I assume the repository ends with a '/', trying to avoid
getting fancy.]

2) I added --non-interactive, but doubt it is necessary @ this point.

3) If dir != moduleName I add moduleName

Things you don't need to do, but I am:

1) If debug='true' is set on the <svn object (or the <module, or the
<repository) I set --verbose

2) If debug and verbose are NOT set to true on those above I add --quiet.

[BTW: I've started sniffing quiet output for updates to determine the date
of the last change.]

I could see me having to add username/password at some point, but don't have
it now.

I'm hoping to keep things this simple if I can, but we'll see. As soon as I
start getting able to update the documentation online I'll ensure this is
fully documented.

regards,

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to