[svk-devel] How to find out if remote repository has changed?

Alexandru Popescu the.mindstorm.mailinglist at gmail.com
Mon Jan 8 04:58:19 EST 2007


On 1/8/07, Chia-Liang Kao <clkao at clkao.org> wrote:
> On 08/01/07, Kuckuck Kuckuck <gentoopower at yahoo.de> wrote:
> > Hallo Folks,
> >
> > I'm supposed to write a tool that checks in the background if there are
> > differences in the local and remote repository. I have setup svk in the
> > following way:
> >
> >  svk mirror https://myserver/HWConfig //HWConfig/trunk
> >  svk sync //HWConfig/trunk
> >  svk copy //HWConfig/trunk //HWConfig/local
> >  svk checkout //HWConfig/local HWConfig
> >
> > Checkin, checkout, merge, pull
> > everything is working as expected, but I haven't found a way to determine if
> > there are differences between my local
> > repository and the one on the remote https server.
> > The idea behind my task is: my tool periodically checks if there is a
> > network connection to the server then finds out if there is a change.
> > Once there is a change the user is advised to merge or update. The vehicle
> > will be then be locked and cannot move outside the network range until
> > merge is complete.
>
> If you run svk sm -Ct //HWConfig/local it should tell you if there are
> changes from upstream to merge in..  try also --summary.
>

Isn't this checking you copy vs the mirrored repo? I think the OP
asked about checking the changes between his mirrored repo and the
original repository.

./alex
--
.w( the_mindstorm )p.

> Cheers,
> CLK
> _______________________________________________
> svk-devel mailing list
> svk-devel at bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-devel
>


More information about the svk-devel mailing list