From: Eric Wong Date: Tue, 13 Feb 2007 03:21:37 GMT Subject: Re: git-svn test suite failures due to Subversion race Message-ID: <20070213032137.GA28534@localdomain> In-Reply-To: <45D1239C.4040706@gmail.com> Michael Spang wrote: > I've prepared a somewhat cleaner patch that solves the problem without > using sleep. It increases the modification time by one second > immediately prior to each commit. I added calls everywhere I think the > problem could potentially occur. > > I've had no failures with the patch (without it, they are quite frequent). Thanks for the patch. Just one portability nit below, otherwise: Acked-by: Eric Wong > +poke() { > + touch -r "$1" -d +1sec "$1" > +} I'm not sure that -d is portable. However, perl -e '@x = stat($ARGV[0]); utime($x[8], $x[9] + 1, $ARGV[0])' "$1" should work on any platform git-svn runs on. -- Eric Wong