
Fix bug #534, and possibly the looooong-standing bug #487.
Tracked down by sussman, fixed by kfogel!

* merge.c (handle_resource): This is the magic fix.  This function was
  forgetting to look for the special case where the href and base_href
  are *equal* to each other.  In such a case, the "relative" path is
  just an empty string.  This explains a lot.

  Cleanup:  make 'relative' into a const char *.  Remove gstein's
  complaint.  :-)

  (bump_resource):  take a const char * path, build svn_stringbuf_t's.




git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@840333 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion