Java Reference
In-Depth Information
to the repository; this information is stored in CVS history. It's always a good idea
to briefly explain the purpose behind the change and include additional infor-
mation such as a bug number reference or customer change request. Doing so
helps future developers (and maybe even yourself) understand the intent of the
change. If you deselect the Commit check box, IDEA assumes you have nothing to
say and doesn't ask you for comments or other options with your check-ins. This
option is overridden by the Force non-empty comment option. If this is selected,
IDEA will prompt for a commit comment if the most recent one was empty.
Configuring file creation and deletion options
The file creation and deletion options in the Version Control panel determine
how IDEA deals with files you create or delete as you're working on your project.
Using these options, it's possible to have IDEA automatically make the necessary
calls to CVS when you rename, move, or delete files in IDEA . This is true for both
explicit actions you perform (such as creating a new class) and side effects of
refactoring or other operations.
There are three possible selections for both addition and deletion: You can
have IDEA prompt you (with options, including the ability to cancel the opera-
tion), perform the operation silently without asking, or make no changes, in
which case you have to go back and issue the appropriate CVS commands manu-
ally. These options differ from the command dialog options already discussed in
that the command dialog options apply only to those cases where you explicitly
invoke a CVS command, such as Add or Remove, on a file. Remember that until
you commit your changes, the files aren't added or removed from the repository.
Working with other settings
The option Use read-only flag for non edited files in the Ve r s i o n C o n t r o l panel
forces all files to be checked out from the server as read only, unless you've already
modified them. IDEA sets nonmodified files to read-only after each checkout,
update, or commit.
The option Show CVS server output is primarily used for debugging; it logs
all communications with the CVS server, giving you more information about what
is going on. The output appears in the CVS message window.
Using comment commit options
Several options at the bottom of the in the Ve r s i o n C o n t r o l panel control how
IDEA handles comments for commit operations, assuming you've enabled the
command dialog option for the Commit action as described earlier. The Reuse
 
 
 
 
 
 
 
Search WWH ::




Custom Search