Re: [SCRIPT] cg-rpush & locking
- From
Nicolas Pitre <nico@cam.org>
- Date
- May 31, 2005, 23:16 UTC
- Message-ID
- <Pine.LNX.4.63.0505311914550.6500@localhost.localdomain>
- In-Reply-To
- <20050531190005.GE18723@atomide.com>
On Tue, 31 May 2005, Tony Lindgren wrote:
> Anybody have any better ideas for locking that also works with > rsync?
Why do you need a lock at all?
Just update your HEAD reference last when you push and get it first when you pull.
Nicolas