Fix issue #1315: "make cvs2svn check the exit status of commands it runs"
Fix issue #1315: "make cvs2svn check the exit status of commands it runs"

Thanks to Robert Pluim for the initial patch.

* tools/cvs2svn/cvs2svn.py:
  (run_command): New function to run os.system with error checking.
  (Dumper.__init__, Dumper.flush_and_remove_dumpfile, pass3): Use
  run_command instead of calling os.system directly.
  (Dumper.add_or_change_path): Check the return value when closing
  the pipe.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@848743 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion