CVS Add Does not add to correct branch
I've posted an issue about this that has been set to WORKS FOR ME, but I am
bringing it up again here because it just happened to me again.
Using built in CVS client on NB3.4b3, JDK1.4.0_01, Linux 2.4.16.
I think one of the factors is that on Friday, I am in the office, working
against the CVS that is one the local network, and all seems OK. However,
over the weekend, I created a very large new package at home, on the same
machine (a laptop). The machine was connected to the office network via VPN,
but I have noticed that the VPN connection is not reliable. When I come back
into the office, I complete my work today, and add the package to CVS.
Instead of adding the package to the correct branch, it adds the package to
the trunk.
I suspect that something is corrupting the CVS cache files and causing this
problem. The package is under another package that has the correct branch
tag, so this should not happen, but it has happened several times. The common
factor seems to be the network issues when I work at home.
I don't know where the cache files are to test my theory. If anyone knows,
post it and I will try clearing the CVS cache each time I start my machine.
Or if I should do something else, such as set the CVS to offline mode or
something, let me know. Perhaps this is all just "user error" :-)
-ronc
# 1
Ron Cordell wrote:
> I've posted an issue about this that has been set to WORKS FOR ME, but I am
> bringing it up again here because it just happened to me again.
>
> Using built in CVS client on NB3.4b3, JDK1.4.0_01, Linux 2.4.16.
>
> I think one of the factors is that on Friday, I am in the office, working
> against the CVS that is one the local network, and all seems OK. However,
> over the weekend, I created a very large new package at home, on the same
> machine (a laptop). The machine was connected to the office network via VPN,
> but I have noticed that the VPN connection is not reliable. When I come back
> into the office, I complete my work today, and add the package to CVS.
> Instead of adding the package to the correct branch, it adds the package to
> the trunk.
>
> I suspect that something is corrupting the CVS cache files and causing this
> problem. The package is under another package that has the correct branch
> tag, so this should not happen, but it has happened several times. The common
> factor seems to be the network issues when I work at home.
>
> I don't know where the cache files are to test my theory. If anyone knows,
> post it and I will try clearing the CVS cache each time I start my machine.
> Or if I should do something else, such as set the CVS to offline mode or
> something, let me know. Perhaps this is all just "user error" :-)
there are 2 issues here. There are CVS/Tag files that are cvs related. in your new directory you
should have this file residing if it was added on the branch.
Other thing is the appearance of the branch tag in the Netbeans IDE. That takes the folder
annotation from the CVS/Tag file as well.. at least did some time ago, Martin Entlicher rewrote that
part lately..Martin?
please check externally if the affected folders have the CVS/tag file in place, so that we can
locate tehe problem as cvs client related or netbeans cache related.
Milos
>
> -ronc