Why won't the IDE allow me to commit changes into trunk/branch?

You've probably performed an update or checkout on a tag or specific revision (this changes Entries and makes the file "sticky"). After modifications to the file, users can't commit into the trunk/branch because CVS itself doesn't permit commits with sticky tags (sticky must first be reset). Under these circumstances, CVS allows you to commit only into branch tags (or main branch - trunk). The only thing that can be done is to merge your changes with the latest revision of the file from trunk/branch. This can be done by choosing:

  • NB 6.x: Versioning > Branch > Switch to Branch (or Versioning > CVS > Branch > Switch to Branch)
  • NB 5.x: CVS > Branches > Switch to Branch

...then using the trunk or branch tag to allow you to switch.

Applies to: NetBeans 5.x and later

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo