On Mon, Jun 3, 2013 at 9:46 PM, <LiberalJin_at_viatech.com.cn> wrote:
> Dears,
>
> I want to set up a cims by SVN. The system need to do a series test before
> commit. The changes can be committed until the test passed. The question is
> that the test machine is not the svn client the same as the code committed,
> I want to know how can I get the changes before commit by the test machine.
>
> I found a way may be solve this question: by the svn client hook, but it is
> not good way.
>
> I want to do this on svn server side. I need a function like p4 shelve.
>
> Can you give me some suggestion, thank.
One approach would be to allow the commits to the trunk, then merge to
a 'tested' branch if the tests pass. Or the opposite, commit to an
'experimental' branch, then merge to trunk. You do end up with some
extra clutter in the repository but you can then use a separate system
(like jenkins) to perform the testing since it does not have to be
closely coupled to either the svn client performing the commit or the
repository.
--
Les Mikesell
lesmikesell_at_gmail.com
Received on 2013-06-05 18:01:12 CEST