Fix a nasty race condition in 'svnadmin load', which could result in incorrect copyfrom revisions being chosen if other commits were occurring at the same time as the load - a common occurrence in large active repositories, like the ASF main repository.
Fix a nasty race condition in 'svnadmin load', which could result in incorrect
copyfrom revisions being chosen if other commits were occurring at the same
time as the load - a common occurrence in large active repositories, like the
ASF main repository.

* subversion/libsvn_repos/load.c (new_revision_record): Move the recording of
  the dump-file-revision -> in-repos-revision mapping from here, where the
  in-repos-revision is not yet known, and was being guessed as HEAD+1, to ...
  (close_revision): ... here, where the actual in-repos-revision is known.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion