[svk-devel] Using SVN client on an SVK repository
Pavan Balaji
balaji at mcs.anl.gov
Sun Aug 5 03:32:58 EDT 2007
Jesse,
Sorry, I was tied down with other things and just got to trying out your
suggestion -- it works like a charm! :-). Thanks.
Btw, in case I want to allow some of the SLAVE repositories to be able to
do both "pull" and "push" of updates, will that be possible too, or am I
getting too greedy? :-). I tried creating an SVK mirror of an SVN
repository, modifying it with SVN and doing an "SVK sync", but that failed
with an error as follows:
#pavan# /home/balaji/tmp> svk sync //paramedic
no headrev at /usr/share/perl5/SVN/Mirror/Ra.pm line 159.
Thanks.
-- Pavan
On 07/30/2007 02:35 PM, Jesse Vincent wrote:
>>
>> In summary, we were looking for some tool to create such a
>> MASTER-SLAVE structure, with the following conditions:
>>
>> 1. The users using the SLAVE repository should be able to continue to
>> use SVN clients.
>>
>> 2. The SLAVE should be able to "pull" updates from the master.
>>
>> 3. The SLAVE should *not* be able to "push" updates to the master.
>>
>> Will Pushmi be able to handle this?
>>
>
> Ok. That sounds a lot more like SVK than Pushmi.
>
> Your slaves would do the following:
>
> export SVKROOT=/home/svnmirror
>
> svk mirror http://yourco.com/svn/project //mirror/project
> svk sync -a
> svk cp //mirror/project //local/project-ourbranch
>
> and would then do the following in a cron job
>
> SVKROOT=/home/svnmirror/ svk sync -a
>
> Any time they wanted to merge your trunk into their branch, they'd need to
>
> SVKROOT=/home/svnmirror/ svk pull //local/project-ourbranch
>
> To share the svk repo via svn, you'd serve out
> /home/svnmirror/local/project-ourbranch via your normal svn server
> mechanism.
>
>
>> Thanks.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> svk-devel mailing list
> svk-devel at bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-devel
--
Pavan Balaji,
Mathematics and Computer Science,
Argonne National Laboratory
Ph: 630.252.3017
http://www.mcs.anl.gov/~balaji
More information about the svk-devel
mailing list