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 57978 - CVS: refresh recursively doesn't work with java 1.4 (local/pserver)
Summary: CVS: refresh recursively doesn't work with java 1.4 (local/pserver)
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-04-18 12:29 UTC by Pavel Rehak
Modified: 2006-03-24 13:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
CVS output (695 bytes, text/plain)
2005-04-18 12:30 UTC, Pavel Rehak
Details
The badly merged error data output of LIST_SUB_STATUS_CMD command. (3.77 KB, text/plain)
2005-04-18 17:22 UTC, Martin Entlicher
Details
The textual patch that fixes this issue. (2.30 KB, patch)
2005-04-18 17:37 UTC, Martin Entlicher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Rehak 2005-04-18 12:29:46 UTC
Product Version       = NetBeans IDE 4.1 RC1 (Build 200504171930)
  Operating System      = Mac OS X version 10.3.8 running on ppc
  Java; VM; Vendor      = 1.4.2_05; Java HotSpot(TM) Client VM 1.4.2-38; Apple Computer, Inc.
  Java Home             = /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
--------------------
Found on MAC/Linux java 1.4.x ( Win works fine with1.4.1 and 1.5.0 )
1. Create new Java Application in workdir of either local or remote (pserver) repository
2. In Files/Versioning view invoke CVS | Add (with commit) on application anme
2. All files folders goes [localy modyfied] but after commit some of them 
    get status [local] instead of [up-to-date]
Comment 1 Pavel Rehak 2005-04-18 12:30:45 UTC
Created attachment 21698 [details]
CVS output
Comment 2 Pavel Rehak 2005-04-18 12:37:17 UTC
Note: problem occurs only with command line client
(built in works just fine)
Comment 3 Pavel Rehak 2005-04-18 14:45:29 UTC
200504072207/  in this build it works fine                                                   
200504101930/  in this build problem appears.
Comment 4 Martin Entlicher 2005-04-18 17:21:21 UTC
The problem seems to be caused by mistakenly merged error data output. It can
not be merged in the correct order and this breaks the parsing algorithm.
Comment 5 Martin Entlicher 2005-04-18 17:22:54 UTC
Created attachment 21710 [details]
The badly merged error data output of LIST_SUB_STATUS_CMD command.
Comment 6 Martin Entlicher 2005-04-18 17:37:33 UTC
Created attachment 21711 [details]
The textual patch that fixes this issue.
Comment 7 Martin Entlicher 2005-04-18 17:45:37 UTC
The fix seems to be fix and simple, it should not cause any regressions.
I can commit it to trunk as soon as httpd's lock is removed from cvs.netbeans.org.
Comment 8 Martin Entlicher 2005-04-18 17:57:20 UTC
This bug was caused by the fix of issue #56651.

It's fixed in trunk now:
/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/ExecuteCommand.java,v  <--
 ExecuteCommand.java
new revision: 1.94; previous revision: 1.93
Comment 9 _ pkuzel 2005-04-19 09:04:54 UTC
OK, REVIEWED
Comment 10 Pavel Rehak 2005-04-19 11:00:55 UTC
Verified in trunk 4.2 200504181800.
Comment 11 Pavel Rehak 2005-04-19 14:19:50 UTC
This is RC1 stopper.
After review please merge fix to 4.1 RC1 branch.
Comment 12 Martin Entlicher 2005-04-19 16:54:43 UTC
Thanks for the review and verification, the fix is merged into release41 branch:

/cvs/vcscore/src/org/netbeans/modules/vcscore/cmdline/ExecuteCommand.java,v  <--
 ExecuteCommand.java
new revision: 1.93.2.1; previous revision: 1.93