* subversion/libsvn_client/diff.c
  (diff_prepare_repos_repos): Use standard functions to resolve revisions in
    most cases instead of trying to reimplement the algorithm locally while
    forgetting some corner cases that most likely can't happen when invoked
    from 'svn'.

  (svn_client_diff_peg6): Remove another stray SVN_DBG().


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1570266 13f79535-47bb-0310-9956-ffa450edef68