cylc/cylc — pull request #561 by arjclark (2013-07-05 15:11:27+00:00)
Title: task submit numbers: fix reset on reload

This fixes a bug whereby task submit numbers get reset to 0 on reload due to the change of the db event from `submitted` to `submitting now` and `submission succeeded`.

Tweaks the db code to use the event `submitting now` as the one to look for when determining a submit number on initialising a task proxy.

I will add a test to the battery for this in the near future.