Re: git-svn test suite failures due to Subversion race
- From
Junio C Hamano <junkio@cox.net>
- Date
- Feb 13, 2007, 06:17 UTC
- Message-ID
- <7vps8e1sz7.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070213032137.GA28534@localdomain>
Eric Wong <normalperson@yhbt.net> writes:
Show 12 quoted lines
> Thanks for the patch. Just one portability nit below, otherwise:
> Acked-by: Eric Wong <normalperson@yhbt.net>
>
>> +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.Sounds sensible, as git-svn wants perl-svn libraries already anyway.