Factor out some code.
Factor out some code.

* subversion/libsvn_wc/upgrade.c
  (remove_suffix): New function.
  (migrate_text_bases): Use it instead of in-line code.

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