SharpCvsLib

AddCommand Class

copied from: http://developer.apple.com/darwin/tools/cvs/cederquist/cvs_60.html Command: cvs add [-k kflag] [-m message] files Schedule files to be added to the repository. The files or directories specified with add must already exist in the current directory. To add a whole new directory hierarchy to the source repository (for example, files received from a third-party vendor), use the import command instead. The added files are not placed in the source repository until you use commit to make the change permanent. Doing an add on a file that was removed with the remove command will undo the effect of the remove, unless a commit command intervened. The `-k' option specifies the default way that this file will be checked out; for more information see section 12.4 Substitution modes. The `-m' option specifies a description for the file. This description appears in the history log (if it is enabled, see section C.10 The history file). It will also be saved in the version history inside the repository when the file is committed. The log command displays this description. The description can be changed using `admin -t'. See section A.6 admin--Administration. If you omit the `-m description' flag, an empty string will be used. You will not be prompted for a description. For example, the following commands add the file `backend.c' to the repository: $ cvs add backend.c $ cvs commit -m "Early version. Not yet compilable." backend.c When you add a file it is added only on the branch which you are working on (see section 5 Branching and merging). You can later merge the additions to another branch if you want (see section 5.9 Merging can add or remove files).

For a list of all members of this type, see AddCommand Members.

System.Object
   AddCommand

[Visual Basic]
Public Class AddCommand
Implements ICommand
[C#]
public class AddCommand : ICommand

Requirements

Namespace: ICSharpCode.SharpCvsLib.Commands

Assembly: ICSharpCode.SharpCvsLib (in ICSharpCode.SharpCvsLib.dll)

See Also

AddCommand Members | ICSharpCode.SharpCvsLib.Commands Namespace