Hi,
Thank you all for you answers !
I know that all propset command are done locally but it takes time because I
call the svn command line client with the PHP exec function one after
another. So i have to launch this function 15 times!
I thought it would take less time with only one command...
I try to optimize the application but I feel this is not possible at this
time !
For the next version of the application , i think i will use language like
python or perl to do that..
Pathy
On Fri, Aug 13, 2010 at 12:27 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name>wrote:
> Pathy Kongo wrote on Wed, Aug 11, 2010 at 18:22:31 +0200:
> > Hello,
> >
> > I develop a web-based application that send command to a subversion
> Server
> > using the Subversion command line client *svn*
> > I create several files and use the *svn propset* command to add
> properties
> > on files. There is a lot of properties (almost 15 by file), so it takes a
> > lot of time.
> >
>
> Err, ignore my previous response, it wasn't to the question you asked.
>
> But why does it take a long time? You can do
>
> svn add file
> svn ps p1 v1 file
> svn ps p2 v2 file
> svn ps p3 v3 file
> svn ci file
>
> and only the last line is done over the network.
>
> > My question is : how can set several properties on a file using only one
> > command ? ie svn propset prop1 val1 prop2 val2 *file*
> >
> > Thank you in advance.
> >
> > Best regards,
> >
> > Pathy
>
Received on 2010-08-16 11:22:26 CEST