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 81899 - Working Copy Parser should support upcoming 1.4.0 release
Summary: Working Copy Parser should support upcoming 1.4.0 release
Status: VERIFIED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 84868 85082 85141 85172 85304 85324 85379 85447 86040 86046 86068 87835 92485 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-04 03:59 UTC by _ hildo
Modified: 2007-02-16 14:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
An example of the new format of an entries file (467 bytes, text/plain)
2006-08-04 04:00 UTC, _ hildo
Details
The Subversion source which parses the entries file (91.24 KB, text/plain)
2006-08-04 04:00 UTC, _ hildo
Details
My .svn directory from Subversion 1.4.2 which is causing NB to throw an exception (17.92 KB, application/x-compressed)
2007-01-03 02:54 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hildo 2006-08-04 03:59:32 UTC
The Subversion module for NetBeans directly parses Subversion working copy
files, for performance purposes.  While it makes no attempt to update these
files, it will read them for data instead of going through the command line.

In the upcoming 1.4.0 release of Subversion, the structure of key working copy
files have changed.  For example, the "entries" file is no longer an XML
document, but a plain text file.

The parser will need to be updated in order to support both working copy structures.
Comment 1 _ hildo 2006-08-04 04:00:20 UTC
Created attachment 32524 [details]
An example of the new format of an entries file
Comment 2 _ hildo 2006-08-04 04:00:59 UTC
Created attachment 32525 [details]
The Subversion source which parses the entries file
Comment 3 _ hildo 2006-09-05 12:17:09 UTC
I've updated the EntriesCache and the WorkingCopyDetails objects to handle both
SVN 1.3 working copy formats (which is 1.3 and earlier) and SVN 1.4 working copy
formats.  Changes mailed to Tomas for checking/inclusion into the source sode
repository.
Comment 4 Tomas Stupka 2006-09-14 13:20:51 UTC
not commited yet
Comment 5 Tomas Stupka 2006-09-14 13:21:07 UTC
*** Issue 84868 has been marked as a duplicate of this issue. ***
Comment 6 Tomas Stupka 2006-09-14 13:23:20 UTC
merged patch from E Hildo into trunk

Checking in
main/src/org/netbeans/modules/subversion/client/parser/EntriesCache.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/EntriesCache.java,v
 <--  EntriesCache.java
new revision: 1.5; previous revision: 1.4
done
Checking in main/src/org/netbeans/modules/subversion/client/parser/SvnWcParser.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/SvnWcParser.java,v
 <--  SvnWcParser.java
new revision: 1.8; previous revision: 1.7
done
Checking in
main/src/org/netbeans/modules/subversion/client/parser/LocalSvnInfoImpl.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/LocalSvnInfoImpl.java,v
 <--  LocalSvnInfoImpl.java
new revision: 1.4; previous revision: 1.3
done
Checking in
main/src/org/netbeans/modules/subversion/client/parser/WorkingCopyDetails.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/WorkingCopyDetails.java,v
 <--  WorkingCopyDetails.java
new revision: 1.10; previous revision: 1.9
done
Checking in main/src/org/netbeans/modules/subversion/client/PropertiesClient.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/PropertiesClient.java,v
 <--  PropertiesClient.java
new revision: 1.9; previous revision: 1.8
done
Checking in
main/src/org/netbeans/modules/subversion/client/UnsupportedSvnClientAdapter.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/UnsupportedSvnClientAdapter.java,v
 <--  UnsupportedSvnClientAdapter.java
new revision: 1.10; previous revision: 1.9
done
Checking in
main/src/org/netbeans/modules/subversion/client/parser/EntriesCache.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/EntriesCache.java,v
 <--  EntriesCache.java
new revision: 1.5; previous revision: 1.4
done
Checking in main/src/org/netbeans/modules/subversion/client/parser/SvnWcParser.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/SvnWcParser.java,v
 <--  SvnWcParser.java
new revision: 1.8; previous revision: 1.7
done
Checking in
main/src/org/netbeans/modules/subversion/client/parser/LocalSvnInfoImpl.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/LocalSvnInfoImpl.java,v
 <--  LocalSvnInfoImpl.java
new revision: 1.4; previous revision: 1.3
done
Checking in
main/src/org/netbeans/modules/subversion/client/parser/WorkingCopyDetails.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/WorkingCopyDetails.java,v
 <--  WorkingCopyDetails.java
new revision: 1.10; previous revision: 1.9
done
Checking in main/src/org/netbeans/modules/subversion/client/PropertiesClient.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/PropertiesClient.java,v
 <--  PropertiesClient.java
new revision: 1.9; previous revision: 1.8
done
Checking in
main/src/org/netbeans/modules/subversion/client/UnsupportedSvnClientAdapter.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/UnsupportedSvnClientAdapter.java,v
 <--  UnsupportedSvnClientAdapter.java
new revision: 1.10; previous revision: 1.9
done
Checking in external/svnClientAdapter.jar;
/cvs/subversion/external/svnClientAdapter.jar,v  <--  svnClientAdapter.jar
new revision: 1.31; previous revision: 1.30
done
Comment 7 Peter Pis 2006-09-17 08:48:36 UTC
*** Issue 85082 has been marked as a duplicate of this issue. ***
Comment 8 Tomas Stupka 2006-09-18 09:08:02 UTC
on more fix suggested by Ed. the previous ix did not work with modified prop
file in a 1.3 WC.

Checking in WorkingCopyDetails.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/WorkingCopyDetails.java,v
 <--  WorkingCopyDetails.java
new revision: 1.11; previous revision: 1.10
done
Comment 9 Peter Pis 2006-09-18 14:23:45 UTC
*** Issue 85141 has been marked as a duplicate of this issue. ***
Comment 10 Tomas Stupka 2006-09-18 19:07:19 UTC
*** Issue 85172 has been marked as a duplicate of this issue. ***
Comment 11 Maros Sandor 2006-09-19 15:28:40 UTC
55fix: We should also make sure that when newer SVN clients add new attributes
to Entries metadata we will handle this situation gracefully in our parser.
Comment 12 Tomas Stupka 2006-09-19 16:43:56 UTC
made the parser a bit more graceful

Checking in EntriesCache.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/EntriesCache.java,v
 <--  EntriesCache.java
new revision: 1.6; previous revision: 1.5
done
Comment 13 Tomas Stupka 2006-09-20 08:20:20 UTC
*** Issue 85304 has been marked as a duplicate of this issue. ***
Comment 14 Tomas Stupka 2006-09-20 09:25:58 UTC
*** Issue 85304 has been marked as a duplicate of this issue. ***
Comment 15 Tomas Stupka 2006-09-20 09:27:37 UTC
*** Issue 85304 has been marked as a duplicate of this issue. ***
Comment 16 Tomas Stupka 2006-09-20 11:52:33 UTC
*** Issue 85324 has been marked as a duplicate of this issue. ***
Comment 17 Maros Sandor 2006-09-20 12:30:04 UTC
Reviewed, looks OK to me.
Comment 18 Tomas Stupka 2006-09-20 16:22:37 UTC
merged into 5.5

Checking in parser/LocalSvnInfoImpl.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/LocalSvnInfoImpl.java,v
 <--  LocalSvnInfoImpl.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
done
Checking in parser/EntriesCache.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/EntriesCache.java,v
 <--  EntriesCache.java
new revision: 1.1.2.7; previous revision: 1.1.2.6
done
Checking in parser/SvnWcParser.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/SvnWcParser.java,v
 <--  SvnWcParser.java
new revision: 1.1.2.10; previous revision: 1.1.2.9
done
Checking in parser/WorkingCopyDetails.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/parser/WorkingCopyDetails.java,v
 <--  WorkingCopyDetails.java
new revision: 1.1.2.9; previous revision: 1.1.2.8
done
Checking in PropertiesClient.java;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/PropertiesClient.java,v
 <--  PropertiesClient.java
new revision: 1.6.4.4; previous revision: 1.6.4.3
done
Checking in Bundle.properties;
/cvs/subversion/main/src/org/netbeans/modules/subversion/client/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.4.2.10; previous revision: 1.4.2.9
done
Comment 19 Tomas Stupka 2006-09-21 08:18:50 UTC
*** Issue 85379 has been marked as a duplicate of this issue. ***
Comment 20 Tomas Stupka 2006-09-21 15:22:32 UTC
*** Issue 85447 has been marked as a duplicate of this issue. ***
Comment 21 Petr Blaha 2006-09-26 13:35:47 UTC
Please, verify the bug in release55 branch.
Comment 22 Peter Pis 2006-09-26 16:11:51 UTC
Verified in release55.
Comment 23 Tomas Stupka 2006-09-28 13:40:38 UTC
*** Issue 86040 has been marked as a duplicate of this issue. ***
Comment 24 Tomas Stupka 2006-09-28 14:35:18 UTC
*** Issue 86046 has been marked as a duplicate of this issue. ***
Comment 25 Tomas Stupka 2006-09-28 16:56:30 UTC
*** Issue 86068 has been marked as a duplicate of this issue. ***
Comment 26 Tomas Stupka 2006-11-23 15:29:36 UTC
*** Issue 87835 has been marked as a duplicate of this issue. ***
Comment 27 _ gtzabari 2006-11-26 06:26:41 UTC
Sorry I think I am seeing this issue with dev build 200610231800. I'd like to
try reproducing this with a newer build but nightly dev builds have been broken
for a while. Are you *sure* was issue is fixed? I see "AssertionError: Unable to
get repository, context contains only unmanaged files!"
Comment 28 Tomas Stupka 2006-11-27 08:56:39 UTC
quite sure. i'm working with 1.4.0 since the issue was fixed. 

there will be a 6.0 m5 build in the next days, please let us know if you still
get the problem with it. Eventually you may try out the 5.5 release build. 
Comment 29 _ gtzabari 2007-01-03 02:53:44 UTC
I'm still getting this problem with dev build 200701011900 against Subversion
1.42. I've attached my .svn directory. Please take a look and let me know if
there is any extra logging or information I can provide you with to track down
the source of the problem.
Comment 30 _ gtzabari 2007-01-03 02:54:34 UTC
Created attachment 36994 [details]
My .svn directory from Subversion 1.4.2 which is causing NB to throw an exception
Comment 31 _ gtzabari 2007-01-03 03:00:34 UTC
FYI, Subversion 1.4 works great under 5.5 for me so this seems to be a 6.0 dev
build issue.
Comment 32 _ hildo 2007-01-03 03:03:17 UTC
Could you please provide the exception (and, if possible, the stack trace)
you're receiving?  For what it's worth, the origin of this issue wasn't an
exception.  Just simply that the existing Working Copy parser would not
recognise any of the files (as such, marking them all as unknown).  It may
warrant creating a new issue, instead of re-opening an old one.
Comment 33 Tomas Stupka 2007-01-05 14:46:31 UTC
gtzabari: according to the exception you mentioned in your post from  Sun Nov 26
06:26:41 +0000 2006 i guess it's the same problem as in #88304. 

i'm going to close this one
Comment 34 Tomas Stupka 2007-01-15 09:35:59 UTC
*** Issue 92485 has been marked as a duplicate of this issue. ***
Comment 35 Tomas Stupka 2007-01-15 09:41:33 UTC
*** Issue 92485 has been marked as a duplicate of this issue. ***
Comment 36 Peter Pis 2007-02-16 14:57:29 UTC
This issue has been filed for 1.4.0 and the parser handles ".svn" administrative
directories well. Verified.