What if multiple scm commands ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

What if multiple scm commands ?

Gilles Scokart
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
Reply | Threaded
Open this post in threaded view
|

Re: What if multiple scm commands ?

Emmanuel Venisse-2
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