Continuum theory of evolving dislocation fields