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 116952 - subversion version control not recognized in project unless NB checked it out
Summary: subversion version control not recognized in project unless NB checked it out
Status: RESOLVED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 8.0.2
Hardware: All All
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-27 14:30 UTC by dpociu
Modified: 2015-07-26 15:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (72.21 KB, text/plain)
2007-10-01 15:19 UTC, dpociu
Details
sample versioned project - source code removed. (16.18 KB, application/octet-stream)
2007-10-01 15:20 UTC, dpociu
Details
Screenshot of project properties (25.04 KB, image/gif)
2007-10-01 15:38 UTC, dpociu
Details
Explorer view of the same project (36.92 KB, application/octet-stream)
2007-10-01 15:39 UTC, dpociu
Details
Screenshot of IDE with attached project (68.70 KB, image/gif)
2007-10-01 15:43 UTC, dpociu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dpociu 2007-09-27 14:30:46 UTC
NB6 B1 - When opening a pre-checked out Subversion project, NB does not recognize it as being version controlled.

If NB checks it out, it is recognized.

If the base check out folder is renamed (for NB checked out projects) and project is opened from new folder, again NB
does not recognize it as version controlled.

Subversion module in NB 5.5 on the other hand works just fine.
Comment 1 Peter Pis 2007-10-01 09:15:23 UTC
I have tried:
1. Check out project in NB 5.x.
2. Switch to NB 6.0, "Open Project" (point the path location where the project was checked out in step 1.)
3. Project is recognized by the ide as versioned. All SVN actions are available.

Could you please provide more details? What kind of project is that? (j2se, web, ...) Is a free form project?

Rename action (available for project root node) renames the top folder but it DOESN'T copy ".svn" administrative
directories. Therefore after the rename the project is no longer recognized by the IDE as versioned.
Comment 2 dpociu 2007-10-01 13:50:05 UTC
The types of projects are J2se, and free form - existing NB5.x projects. 

When I open them with NB 5.5/5.5.1 and the Subversion plugin loaded, they show as version controlled.

When I open the same project with 6.0 Beta1, the context menu gives me the Import into CVS, Import into subversion,
Apply diff patch only. 

One more item since my first report: If I check the project out with NB6 and open it it appears versioned. If I then
close NB6, when I re-open it, the same project is not versioned any longer.

It would be easier to just show you what I mean through a web meeting. Could you give me a call +1 203 699 0029 and ask
for David. I'm on Eastern (New York) time.
Comment 3 Tomas Stupka 2007-10-01 14:59:02 UTC
thanks for your offer, but lets see first if we are able to reproduce.

- what is your svn client version?

- could you, please, try to reproduce the problem and attach your messages.log file from that netbeans session

- is it possible for you to attach such a project? you may drop the sources, the main project root folder with the svn
metadata should be enough.

thanks

Comment 4 dpociu 2007-10-01 15:17:18 UTC
Started out with svn 1.4.2, moved to 1.4.5 this morning - no difference.

I also have TortoiseSVN as the outside (of Netbeans) SVN client I use - version 1.4.5

I will attach files you asked in a few moments.
Comment 5 dpociu 2007-10-01 15:19:31 UTC
Created attachment 49892 [details]
IDE log
Comment 6 dpociu 2007-10-01 15:20:21 UTC
Created attachment 49893 [details]
sample versioned project - source code removed.
Comment 7 Peter Pis 2007-10-01 15:32:49 UTC
I've tried to open your project and it seems to be ok... All Subversion actions are available for the project root.
Could you please verify the location of the project? (select project root node and invoke "Properties" popup menu
action). If the project root directory contains ".svn" administrative folder it should be always considered as versioned
by the IDE. 
Comment 8 dpociu 2007-10-01 15:38:38 UTC
Created attachment 49896 [details]
Screenshot of project properties
Comment 9 dpociu 2007-10-01 15:39:50 UTC
Created attachment 49897 [details]
Explorer view of the same project
Comment 10 dpociu 2007-10-01 15:40:49 UTC
See attached screenshots for the info you wanted. 

Ans, yes, it doesn't make any sense..
Comment 11 dpociu 2007-10-01 15:43:37 UTC
Created attachment 49898 [details]
Screenshot of IDE with attached project
Comment 12 Peter Pis 2007-10-01 15:56:08 UTC
We have spotted that you placed your project in "C:\_svn..." which is not correct and it's treated as a part of
subversion administrative directory. Please use different location (your working copy can't be placed in path that
contains: ".svn" or "_svn")
Comment 13 dpociu 2007-10-01 16:53:54 UTC
Yes, that was it. Thank you.

As a suggestion, could you look for this and place a warning about it? 

Since 5.x accepted it without complaints, it may be helpful.

Thanks again.
Comment 14 bobuse 2008-03-20 11:43:53 UTC
Hi,

I've the same issue with NetBeans 6.0.1.

I've checked out a project with SVN GUI (kdesvn) and then opened this project in NB.
The project is correctly openened, but in the submenu "Subversion" I've only "Import into …".

I've checked that a .svn is well present in the directory. I've copied and pasted the folder from project properties 
in NB, and make a "ls -a" on this dir, and ".svn" dir is there.
Comment 15 Tomas Stupka 2008-03-20 14:28:46 UTC
as stated in the post from ppis Mon Oct 1 14:56:08 +0000 2007
- your working copy can't be placed in path that contains: ".svn" or "_svn"

this is what this issue was about.

feel free to file a new issue if that's not your case

thanks
Comment 16 mimkorn 2015-07-26 15:28:59 UTC
Hi,

the bug still present for me in 8.0.2 - checked out a project using tortoiseSVN, opened in netbeans and netbeans does not acknowledge it is versioned and only offers to Import.

Some workaround?
Comment 17 Ondrej Vrabec 2015-07-26 15:50:08 UTC
(In reply to mimkorn from comment #16)
> Hi,
> 
> the bug still present for me in 8.0.2 - checked out a project using
> tortoiseSVN, opened in netbeans and netbeans does not acknowledge it is
> versioned and only offers to Import.
> 
> Some workaround?
I regularly check out with external command line tool and have no problems. Try restarting NetBeans, that could refresh potential cached information about existing unversioned folders. If it does not help, pack and send me the whole checkout.