code: public void replaceModule(String importFile) throws Exception {
  
          OpenCms.getModuleManager().replaceModule(
              m_cms,
              importFile,
              new CmsShellReport(m_cms.getRequestContext().getLocale()));
  
      }
docs: Replaces a module with another revision.<p>
  
  @param importFile the name of the import file
  
  @throws Exception if something goes wrong