[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

RE: Checking out sub-folders


On Mon, 29 Nov 1999, Tim Endres wrote:

> Please try changing your "Checkout Directory" to the following:
> 
>     E:/testcheckout
> 

I sent a patch for this to this list a while ago. I haven't recieved any
comments on it, but I believe it is correct (and I have the traces to
prove it :). We are using a modified jcvs locally.

The other 2 patches sent at the same time was to be able to run excel (it
was picky about having \ as path separator and getting things wrapped in
"") and to get the list of servers sorted alphabetically.

/Urban


diff -ur source.orig/com/ice/cvsc/CVSProject.java source/com/ice/cvsc/CVSProject.java
--- source.orig/com/ice/cvsc/CVSProject.java	Fri Jul 30 20:45:54 1999
+++ source/com/ice/cvsc/CVSProject.java	Mon Oct 25 10:12:37 1999
@@ -4132,7 +4132,7 @@
 			{
 			return true;
 			}
-		
+
 		String localSub = localPath.substring( 0, index );
 
 		if ( ! CVSCUtilities.isSubpathInPath( localRoot, localSub ) )
@@ -4158,7 +4158,7 @@
 			}
 		else
 			{
-			localSub = localSub.substring( localRoot.length() + 1 );
+			localSub = localSub.substring( localRoot.length() );
 			}
 
 		if ( CVSProject.deepDebug )