better error checking for dm ids, and option to commit changes to subversion [#46471105]