Subject: | _shortest_path hangs when given blank strings |
SVN::Notify::Mirror::_shortest_path hangs when given blank strings. This
can happen if files in several different mirrors appear in a single
commit. e.g. my conf looks like this:
'env/trunk/hm/conf':
handler: Mirror
minimal: 1
to: "/home/webuser/development/conf"
'env/trunk/hm/db':
handler: Mirror
minimal: 1
to: "/home/webuser/development/db"
If I commit two files, one in conf and one in db, _shortest_path will be
passed a blank string and will hang.
The way I fixed this was to simplify _shortest_path and filter out the
blank strings. Patch attached with a test.
Subject: | diff.out |
Message body not shown because it is not plain text.