Windows and default --modify-window=0

Dave Dykstra dwd at drdykstra.us
Thu Jan 9 17:34:01 EST 2003


On Thu, Jan 09, 2003 at 05:52:43PM +0100, Lapo Luchini wrote:
> Dave Dykstra wrote:
> 
> >it would fail if it were
> >talking to a release of rsync that is too old to recognize the 
> >option[...].  The surprise factor on that may be too much to make it 
> >worthwhile.
> > 
> >
> I agree. I didn't think about that.
> But, given the resilience to "upgrade" many people have, you sure are right.


It could perhaps key off the remote protocol version number.  The version
number is not as a rule incremented when new options are added, but it
could check for whatever version the protocol was incremented to after
the option was added, and only add the option then.  No, wait, that won't
work because the protocol version number isn't exchanged until after the
option parameters are passed.  The only way to do it would be to modify
the protocol to include the info instead of passing a parameter.

- Dave



More information about the rsync mailing list