Hi Jeff,
That works great. Thanks for your help.
Dan
Jeff A. Bowles wrote:
> Start with "run_sync" but give it an
argument:
> ret = p4.run_sync("-f")
>
> Try that...
>
> -Jeff Bowles
>
> On 2/8/07, *Daniel Anolik* <daniel.anolik jeppesen.com
> <mailto:daniel.anolik jeppesen.com>>
wrote:
>
> Greetings,
>
> Is there a way to force sync a workspace using the
p4ruby API? I'm
> looking for the equivalent of the "p4 sync
-f" command which forces
> resynchronization even if the client already has
the file.
>
> I'm currently using the p4.run_sync method to
perform a normal sync, but
> not sure how to change its' behavior.
>
>
> thank you,
>
> --
> Daniel Anolik
> Software Configuration Management - Marine
Applications
> (503) 419-5044
> _________________________________________________
> Jeppesen Technology Services - A Boeing Company
> Making Every Mission Possible
> www.jeppesen.com <http://www.jeppesen.com&g
t;
> _______________________________________________
> p4ruby mailing list
> p4ruby perforce.com <mailto:p4ruby perforce.com>
>
http://maillist.perforce.com/mailman/listinfo/p4ruby
>
>
>
>
> --
> ---
> Jeff Bowles - jab piccoloeng.com <mailto:jab piccoloeng.com>
--
Daniel Anolik
Software Configuration Management - Marine Applications
(503) 419-5044
_________________________________________________
Jeppesen Technology Services
Making Every Mission Possible
www.jeppesen.com
_______________________________________________
p4ruby mailing list
p4ruby perforce.com
http://maillist.perforce.com/mailman/listinfo/p4ruby
|