Re: CVS repository rsync - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: CVS repository rsync
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FC96@algol.sollentuna.se
Whole thread Raw
In response to Re: CVS repository rsync  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-hackers
> > I've set up my laptop to sync down the full cvs repository
> using rsync
> > (remember - windows = no cvsup). This works well, except
> every now and
> > then (not every time, but definitly often enough to bother me) it
> > resyncs the entire repository, and not just the files that have had
> > commits to them.
> >
> > Anybody have a clue as to why this is happening, and what I can do
> > about it?
>
> This, perhaps?:
>
> --modify-window
>   When comparing two timestamps rsync  treats  the  timestamps  as
>   being  equal if they are within the value of modify_window. This
>   is normally zero, but you may find it useful to set  this  to  a
>   larger  value  in some situations. In particular, when transfer-
>   ring to Windows FAT filesystems  which  cannot  represent  times
>   with a 1 second resolution --modify-window=1 is useful.
>
> (from rsync man page)

Maybe. But I'm on NTFS, which has 100-naonsecond granularity on times,
so it's much more exact than the server ;-)

//Magnus


pgsql-hackers by date:

Previous
From: Steve Crawford
Date:
Subject: Re: CVS repository rsync
Next
From: Neil Conway
Date:
Subject: adminpack and pg_catalog