author | Robin Rosenberg <robin.rosenberg.lists@dewire.com> | |
Tue, 24 Jul 2007 22:56:20 +0000 (00:56 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 25 Jul 2007 00:28:10 +0000 (17:28 -0700) | ||
commit | f836f1ae9b1535d6a1aeb4a0e8a33d65edaf9ff8 | |
tree | 6aefe8ea87819de6c0f7842b4878a71c57faeba0 | tree | snapshot |
parent | 1843d8d545de0e94dc4c7d3c9125fb47a99962c4 | commit | diff |
cvsexportcommit: avoid racy CVS problem.
If git cvsexportcommit is executed fast enough in sequence, the CVS
timestamps could end up being the same. CVS tries to fix this
by sleeping until the CPU clock changes seconds. Unfortunately,
the CPU clock and the file system clock are not necessarily the same, so
the timestamps could be the same anyway. When that happens CVS may not
recognize changed files and cvs will forget to commit some files.
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If git cvsexportcommit is executed fast enough in sequence, the CVS
timestamps could end up being the same. CVS tries to fix this
by sleeping until the CPU clock changes seconds. Unfortunately,
the CPU clock and the file system clock are not necessarily the same, so
the timestamps could be the same anyway. When that happens CVS may not
recognize changed files and cvs will forget to commit some files.
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsexportcommit.perl | diff | blob | history |