public void checkinFile()

in src/net/sourceforge/transparent/TransparentVcs.java [514:550]


  public void checkinFile( File ioFile, String comment, List<VcsException> errors )
  {
    VirtualFile vFile = VcsUtil.getVirtualFile( ioFile );
    FileStatusManager fsmgr = FileStatusManager.getInstance( myProject );

    try
    {
      if(( vFile != null ) && (fsmgr.getStatus( vFile ) == FileStatus.HIJACKED) && isCheckInToUseHijack() )
      {
        //  Run checkout in the "non-verbose" mode, that is do not display any
        //  dialogs since we are aready in the Dialoging mode.
        checkoutFile( ioFile, true, comment );
      }
      getClearCase().checkIn( ioFile, comment );

    }
    catch( ClearCaseException e )
    {
      //  In the case of the conflict upon checking in - remember the
      //  particular status of this file for our ChangeProvider.
      if( isMergeConflictMessage( e.getMessage() ))
      {
        //  Sometimes we deal with renamed or moved files. For them we have no
        //  VirtualFile object.
        if( vFile != null )
        {
          vFile.putUserData( MERGE_CONFLICT, true );
        }
      }

      handleException( e, vFile, errors );
    }
    catch( Throwable e )
    {
      handleException( e, vFile, errors );
    }
  }