subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Mikesell <lesmikes...@gmail.com>
Subject Re: How to use SVN to setup CIMS
Date Wed, 05 Jun 2013 16:00:33 GMT
On Mon, Jun 3, 2013 at 9:46 PM,  <LiberalJin@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@gmail.com

Mime
View raw message