patch: return list of modified files even when an exception is raised
The file list is passed in as an argument and updated in place.
This fixes issue399.
#!/bin/shhg initecho This is file a1 > ahg add ahg commit -m "commit #0" -d "1000000 0"touch bhg add brm bhg commit -A -m"comment #1" -d "1000000 0"