Fix issue #2651, where svn-graph.pl deadlocks due to an endless loop when "/" is a changed path in a log message.
Fix issue #2651, where svn-graph.pl deadlocks due to an endless loop
when "/" is a changed path in a log message.

* tools/client-side/svn-graph.pl
  (process_revision): Always execute the final loop at least once
   (since there's always at least one changed path).  Always strip at
   least one path component, and be sure to terminate the loop after
   all path components have been processed.

Suggested by: phpxcache


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

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