Make dir externals' peg revision and revision appear in wc.db. Prior to this patch, the columns def_operational_revision and def_revision were always empty for dir externals.
Make dir externals' peg revision and revision appear in wc.db. Prior to this
patch, the columns def_operational_revision and def_revision were always empty
for dir externals.

* subversion/libsvn_client/externals.c
  (switch_dir_external): 
    Do not pass SVN_INVALID_REVNUM to svn_wc__external_register(). Instead,
    translate svn_opt_revision_t to svn_revnum_t (x2) and pass revision
    numbers if available.

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