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 9368 - "Checkout" works always recursively in spite of explicit specification of -l option.
Summary: "Checkout" works always recursively in spite of explicit specification of -l ...
Status: CLOSED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: Other Windows ME/2000
: P1 normal with 1 vote (vote)
Assignee: _ rgreig
URL:
Keywords:
Depends on: 9367
Blocks:
  Show dependency tree
 
Reported: 2001-02-02 16:39 UTC by Jiri Kovalsky
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2001-02-02 16:39:37 UTC
Development build of NetBeans #117 (2001-02-02) on Windows 2000 with JDK 1.3.

Description:
============
User is not able to avoid recursive checking out if wants to "Checkout" contents
of particular directory that has non-empty subdirectories inside. This maybe
pretty annoying if applied on directory with complex structure and enormous
contents. This is not in fact bug of javacvs module but cvslib library. Please
fix this bug as soon as possible. Taking into consideration bug #9367 this one
is possible data lost as well. Example of affected directory structure:

JavaCVS /home/username/src
  L--- folder
         L--- another
                L--- Test [NCheckout]

Steps to reproduce:
===================
1. Mount JavaCVS filesystem and create directory structure like the one descri-
   bed in above schema.
2. Now invoke "Checkout" command from the popup menu of "folder" node and check
   "Run local (not recursively)" checkbox as you don't want to get "Test" file.
3. After command is performed "Test" file was recovered. Open it to verify.
Comment 1 _ rgreig 2001-02-20 00:56:06 UTC
Assigning to Robert. Should be fixed in conjunction with #9367.
Comment 2 _ rgreig 2001-02-20 00:58:28 UTC
Assigning to Robert.
Comment 3 _ rgreig 2001-02-25 22:37:26 UTC
Reassigned because of email address change.
Comment 4 _ rgreig 2001-02-25 22:38:28 UTC
Modified CheckoutCommand to send the -l argument if "local" is specified.

Modified files:
org.netbeans.lib.cvsclient.command.CheckoutCommand
Comment 5 Jiri Kovalsky 2001-05-30 11:09:56 UTC
[REGRESSION]
I have to reopen this bug and in addition increase its priority as we were inst-
ructed to do so in cases of regressions. This bug needs to be fixed as soon as 
possible since it is data lost issue. Tried to verify in development build #199 
of NetBeans and #010529_1 of Forte for Java 3.0
Comment 6 Jiri Kovalsky 2001-05-30 11:14:56 UTC
One important correction: it works well in 010529_1. So the problem is only in 
the trunk. Sorry for this mistake. I wish IssueZilla could handle multiple 
branches :-)
Comment 7 Milos Kleint 2001-06-05 09:20:33 UTC
it should be fixed in the next dev build. (203)
The fix is trivial and has no impact on other code, so I marked it as 3.2.1 fix 
candadate. the diff is here..
http://www.netbeans.org/unbranded-
source/browse/javacvs/libsrc/org/netbeans/lib/cvsclient/command/checkout/Checkou
tCommand.java.diff?r1=text&tr1=1.29&r2=text&tr2=1.30&f=h

Comment 8 Jiri Kovalsky 2001-06-07 15:43:59 UTC
Great. Finally it is fixed in development build of NetBeans #205 -> Verified.
Comment 9 Quality Engineering 2003-07-01 12:50:17 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.