This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 103942 - Subversion context menu only displays "Import into Subversion" after checkout
Summary: Subversion context menu only displays "Import into Subversion" after checkout
Status: RESOLVED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 22:00 UTC by rdelaplante
Modified: 2007-06-01 08:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Subversion client not giving me the expected options (14.57 KB, image/gif)
2007-05-14 22:01 UTC, rdelaplante
Details
message log to help debug (275.21 KB, text/plain)
2007-05-15 14:42 UTC, rdelaplante
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rdelaplante 2007-05-14 22:00:34 UTC
I just checked out a VWP project using the subversion client in Netbeans 5.5.1
RC.  The folder it checked out into did not exist until NetBeans Subversion
client created it.  I resolved a dependency then wanted to commit.  When I right
click the project and click the subversion context menu I can only see "Import
into Subversion".  When I do the same with an EAR and EJB project, I get all of
the subversion commands.  I can see the blue container icon on my VWP project
showing that there is a change waiting to be comitted.  If I go into my
filesystem and right click the folder, Tortoise SVN shows all of the subversion
options. I will attach a screenshot.  I have tried checking out the project
several times, and restarting the IDE.  I can't find a work around.
Comment 1 rdelaplante 2007-05-14 22:01:04 UTC
Created attachment 42391 [details]
Subversion client not giving me the expected options
Comment 2 Peter Pis 2007-05-15 08:08:05 UTC
Have you tried to add the project root directory into the "Favorites" view? What
subversion actions are available from within this view?
Comment 3 Peter Pis 2007-05-15 08:26:20 UTC
Can't reproduce. After checking the VW project out all actions are available
from within "Projects", "Files" and "Favorites" view. Could you please verify
whether the project root directory contains ".svn" folder?
Comment 4 rdelaplante 2007-05-15 14:27:15 UTC
When the project is selected in the projects tree, then I select the Subversion
menu at the top of the screen, I see a number of menu items enabled that I would
expect to see.  When I click "Show All Changes", it shows me changes for a
different project!  It shows changes for the project directly before the
currently selected project in the projects tree, which also uses subversion.  

When I go to the "Files" tab (between Projects and Runtime tabs) the project no
longer displays the blue container icon indicating that there are changes
waiting to be committed. When I right click, there is no menu item. 

There are 25 .svn folders in the project tree.  In Windows Explorer, if I right
click the project folder and use TortoiseSVN to show me the changes, it shows me
4 files from this project. The diff confirmed they were files from this project.
 TortoiseSVN has not caused problems related to NetBeans' subversion client for
me in the past, and NetBeans' subversion client seems to be working for my other
projects.

I am going to reboot my computer in case there is some sort of file locking
issue between TortoiseSVN and NetBeans subversion client. I don't think this
will solve the problem because NetBeans subversion client created the project
root folder, did a check out into it, and has this problem.  

Comment 5 rdelaplante 2007-05-15 14:41:33 UTC
Rebooting did not make a difference.  I did noticed that the subversion menu at
the top of the screen is for "All projects". That is why when I clicked "Show
All Changes" it showed me changes from an other project.  I do not know what the
"Favorites" view is.  I am using NetBeans 5.5.1 RC1.  I will attach my
messages.log next
Comment 6 rdelaplante 2007-05-15 14:42:36 UTC
Created attachment 42412 [details]
message log to help debug
Comment 7 rdelaplante 2007-05-15 14:58:02 UTC
Note that the only changes are to files in the nbproject folder
Comment 8 Tomas Stupka 2007-05-17 16:16:03 UTC
hi

> There are 25 .svn folders in the project tree.
the exact question was if there is a .svn folder in your projects root folder

thanks
Comment 9 Tomas Stupka 2007-05-29 09:31:22 UTC
hi,

so is there a .svn folder in your projects root folder or not?

thanks
Comment 10 rdelaplante 2007-05-29 14:26:54 UTC
Yes there was a .svn in the project root folder.  TortoiseSVN worked fine, no
problems at all.  NetBeans's Subversion client (which uses the real svn.exe?)
should have behaved exactly the same?  

It was like that for a long time so I was using TortoiseSVN for all of my
subversion work.  I looked again yesterday and noticed that the Subversion menu
displays all the correct submenu items now.  I have no idea what is different
other than the fact I've done a number of commits with TortoiseSVN.
Comment 11 Tomas Stupka 2007-05-29 14:40:07 UTC
ok then, let's see it happens again ...
Comment 12 Tomas Stupka 2007-06-01 08:41:37 UTC
i'm sorry, but we could not reproduce this problem on 6.0

feel free to reopen if ti should happen again so we may try to track it down

thanks