You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm-dev@maven.apache.org by Gilles Scokart <gs...@gmail.com> on 2007/09/06 09:12:24 UTC

What if multiple scm commands ?

I'm currently trying to write a provider for Dimensions.  Whit this tool, a
checkout operation will result in multiple commands sent to the scm client
(one per file).

How should I place the result in the CheckOutResult?

I thought to place only the commands & provider messages for the commands
that have fail.  But if there is more than one failing, I will have to
concate all commands and all messages into one string.

Is it the right thing to do?  I'm not sure of how this info is used.

Thanks,

-- 
Gilles SCOKART

Re: What if multiple scm commands ?

Posted by Emmanuel Venisse <em...@venisse.net>.
yes, I think it will good to concate all, so users will knwo all commands that ran and will get all output

Emmanuel

Gilles Scokart a écrit :
> I'm currently trying to write a provider for Dimensions.  Whit this 
> tool, a checkout operation will result in multiple commands sent to the 
> scm client (one per file).
> 
> How should I place the result in the CheckOutResult?
> 
> I thought to place only the commands & provider messages for the 
> commands that have fail.  But if there is more than one failing, I will 
> have to concate all commands and all messages into one string.
> 
> Is it the right thing to do?  I'm not sure of how this info is used.
> 
> Thanks,
> 
> -- 
> Gilles SCOKART