RE: How to commit files with "Up-to-Date"-conflict WITHOUT merging?

"Arthur Barrett" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Lennard,

> i'm working on a small java cvs client (using netbeans cvs 
> api) and i'm in
> trouble with committing files with "Up-to-Date"-conflicts. 
> The only thing i need is just to commit locally changed files WITHOUT
> MERGING or UPDATING because
> merging files is not provided (and not needed) in my 
> application. 


You cannot commit unless the version number of the file in the sandbox
is equal to the latest revision in the repository (for the current
branch).  This is usually achieved with update.  

Update is not necessarily a merge, but update usually updates the CVS
control files as well as the sandbox file (merge) though if you are
writing it you could skip that last part...

Regards,


Arthur
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.