On the svn-info-detail branch: Abstract some common code.
On the svn-info-detail branch: Abstract some common code.

* subversion/svn/info-cmd.c
  (relative_url): New; constructs a relative URL.
  (print_info_xml, print_info): Call relative_url instead of
   maintaining the same logic in two places.


git-svn-id: 2635eb5eaecf11d415719fe84bc1437da48531ab@1660462 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion