[svk-users] a patch between to decentraliced repositories

Sergi Blanch i Torné serguei.white at gmail.com
Tue Jan 6 11:03:22 EST 2009


On Sunday 04 January 2009 16:25:21 Staf Verhaegen wrote:
> > Message: 1
> > Date: Fri, 2 Jan 2009 23:48:13 +0100
> > From: Sergi Blanch i Torn? <serguei.white at gmail.com>
> > Subject: [svk-users] a patch between to decentraliced repositories
> > To: svk-users at lists.bestpractical.com
> > Message-ID: <200901022348.14457.serguei.white at gmail.com>
> > Content-Type: text/plain;  charset="utf-8"
> >
> > Hi,
> >
> > I'm using svk to maintain two repositories and do merges from time to
> > time. Having a primary one, public and stable, and a secondary one,
> > working copy and development. It works fine, just what I want.
> >
> > Now I was try to create a patch about the modifications on the secondary
> > to share to developers that only has access to the primary. Like previous
> > merge with the primary.
> >
> > I am trying with:
> > $ svk sync --all
> > $ svk diff //secondary //primary
> > but the output has many more things that a usual diff. Also the commands
> > doesn't like to redirect to output to a file.
>
> I think what you want to do is
>
> $ svk smerge -P patchname //secondary //primary
> Afterwards you will a patch in ~/.svk/patch/patchname.patch
>
> For more info about patches do 'svk help patch'
>
> greets,
> Staf.
>

Thanks, this is the result I wanted. Sorry I was thinking under svn commands 
with not broad vision to svk.

Maybe, an option inside smerge is not the most intuitive place. Is possible to 
suggest to add a the same '-P' option in the diff commands?

Really thanks for you help

/Sergi.


More information about the svk-users mailing list