[api] Fix diff for new packages (i.e. w/o target package).
authorSascha Peilicke <saschpe@suse.de>
Fri, 22 Jul 2011 08:08:34 +0000 (10:08 +0200)
committerSascha Peilicke <saschpe@suse.de>
Fri, 22 Jul 2011 08:08:34 +0000 (10:08 +0200)
commit009ada551d8dbfb2eb98184b8333609ae2ba093b
tree069bedf6cf210dad1e1fcf6d3e424aec24326e78
parentdf57066b14ca410e13fbb7bd61fc2a765ef3dcc2
[api] Fix diff for new packages (i.e. w/o target package).

Also use more generic regex to split of individual file diffs from
unified diff provided by the source server.
src/api/app/controllers/request_controller.rb