group changes by revision