Re: Problem with add directory using NT cvs server

Milos Kleint <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.javacvs.devel
Message-ID <[email protected]>
Navneet Karnani wrote:
> Hi,
> 
> I am using the NT version of cvs server downloaded from 
> http://www.cvsnt.org
> 
> Using this server from a windows based machine and Netbeans 3.3.1, when 
> I add a directory, it adds a prefix of "s/" in the Repository file. I 
> need to remove this prefix to start using the cvs on that directory.
> 
> Can you tell me if this is a problem or am I missing something ?
> 
> - Navneet
> 


I believe I managed to fix the problem. Anyone please review the code for flaws. It worked for me 
with the cvsnt 1.11.1.3 server.
the fix should appear in the next netbeans 3.4 beta.


Thanks

Milos

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
fix.html (text/html, 2.1 KB)
<HTML>
<HEAD>
<TITLE> CVS Repository Query Results </TITLE>
</HEAD>
<BODY>
<H1> Query: </H1>
   Message Filter (Substring):25060
<P>
   Sort: by Date (Ascending)
<P>
<BR>
<BR>
<H1> Results: </H1>
<UL>
--------------------------------------------------
<LI>User: <B>mkleint</B>
<LI>Date: <B>Tue Jul 02 14:10:08 CEST 2002</B>
<LI>Message: <I>fixing adding of directory - issue #25060
the fix was necessary because of the relative CVSROOT repositories in cvsnt 1.11.1.3
The content for newly created directory is now taken from it's parent directory
I had to rewrite the builder as well to accomodate. If there is no exact match, the builder tries to do the best match possible based on the  trailing file path. The longer the match , the better.. the last one wins.
</I>
<UL>
<LI>
<A href='http://www.netbeans.org/source/browse/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddBuilder.java?rev=1.9&content-type=text/x-cvsweb-markup'>1.9</A> 
  /cvs/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddBuilder.java
[<A href='http://www.netbeans.org/source/browse/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddBuilder.java.diff?r1=text&tr1=1.8&r2=text&tr2=1.9&f=h'> Diff </A>]
<LI>
<A href='http://www.netbeans.org/source/browse/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddCommand.java?rev=1.26&content-type=text/x-cvsweb-markup'>1.26</A> 
  /cvs/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddCommand.java
[<A href='http://www.netbeans.org/source/browse/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddCommand.java.diff?r1=text&tr1=1.25&r2=text&tr2=1.26&f=h'> Diff </A>]
</UL>
</UL>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<H1>Summary:</H1>
<B>Number of changes: 1</B>
<P>
<B>Developers: </B>mkleint<P> <BR>
<B>Most frequently changed files:</B>
<UL>
<LI>1 /cvs/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddBuilder.java,v
<LI>1 /cvs/javacvs/libsrc/org/netbeans/lib/cvsclient/command/add/AddCommand.java,v
</UL>
<P> <BR>
<B>Most active developers (based on number of commits): </B>
<UL>
<LI>1 mkleint
</UL>
<P> <BR>
</BODY>
</HTML>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.