Re: CVS repository rsync

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Steve Crawford" <scrawford(at)pinpointresearch(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS repository rsync
Date: 2006-10-19 18:14:01
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0FC96@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2006-10-19 18:37:34 adminpack and pg_catalog
Previous Message Steve Crawford 2006-10-19 18:12:12 Re: CVS repository rsync