Re: carriage returns in .sitecopy/*

Joe Orton <[email protected]> Sat, 4 Feb 2006 10:22:58 +0000
Newsgroups gmane.comp.web.sitecopy
Message-ID <[email protected]>
Hi Dan, thanks for the feedback.

On Fri, Feb 03, 2006 at 01:14:10AM +0800, Dan Jacobson wrote:
> Odd, why carriage returns in .sitecopy/*, and why only on about half
> the lines?
> $ perl -nlwe 'if(/\r$/){$r++}else{$nr++}END{print "$r $nr"}' .sitecopy/host1
> 671 661

That's a historical artefact.  CR's removed for the next version :)

> P.S.,
> I notice some directories are marked
> <protection>37777777777</protection></item>
> when they should all be
> <protection>755</protection></item>
> like the rest.

In fact, they should not be there at all, that was happening in the case 
where directory permissions are not mirrored remotely, so sitecopy does 
not know the permissions that directories are getting remotely.  Fixed 
for the next version.

> P.S., I notice sitecopy processes its arguments last first, e.g., with
> $ sitecopy host1 host2
> it reports host2 first.

Actually, it always processes them in the order they are specified in 
the rcfile.  I'll note this in the TODO file.

Regards,

joe
_______________________________________________
sitecopy maillist  -  [email protected]
http://dav.lyra.org/mailman/listinfo/sitecopy