]> git.ipfire.org Git - thirdparty/git.git/commit
Work around Subversion race in git-svn tests.
authorMichael Spang <mspang@uwaterloo.ca>
Tue, 13 Feb 2007 00:33:37 +0000 (19:33 -0500)
committerJunio C Hamano <junkio@cox.net>
Tue, 13 Feb 2007 06:17:04 +0000 (22:17 -0800)
commit7b3fab877d468a51bab6050385ab701697301c62
tree888945075844874a43d42197d04c5950d0c94b96
parentccf5aa8dd3bc64837a4ca391d0b8bd0e3e481b7e
Work around Subversion race in git-svn tests.

Some of the git-svn tests can fail on fast machines due to a race in
Subversion: if a file is modified in the same second it was checked out
(or in for that matter), Subversion will not consider it modified. This
works around the problem by increasing the timestamp by one second
before each commit.

[jc: with "touch -r -d" replacement from Eric]

Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Michael Spang <mspang@uwaterloo.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/lib-git-svn.sh
t/t9101-git-svn-props.sh
t/t9103-git-svn-graft-branches.sh
t/t9104-git-svn-follow-parent.sh
t/t9106-git-svn-commit-diff-clobber.sh