[cvsnt] Re: Added files occasionally turning up at root of repository.

Daniel Lapolla ldlapolla at yahoo.com
Tue Mar 15 16:32:52 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


I had (have) this problem too.

It seems to be related with commits of multiple files while in flat mode 
in wincvs.

As far as I could trace this issue, the file in the "top level" 
directory always ended up at the root of the repository, when committing 
multiple files in flat mode.

The solution we found is to do two or more commits: for the top level 
directory and for the sub directories in flat mode.

I guess wincvs is miscalculating the paths (or relative paths) it sends 
to CVSNT, specifically in the case of the top level directory.

Can you confirm if your users were committing in flat mode when the 
problem occurred?

Daniel



Mike Wake wrote:
> Hi All,
> 
> I don't know what the hell my users are doing to cause this (I think it 
> may NOT be their fault) but occasionally they seem to add and commit 
> files to the root of the repository.  I have tried to get them to show 
> me exactly what they did and it seems all above board to me.  I have 
> made many attempts to characterise the bug so that I can report it, but 
> I have so far failed to find a reproducable way to reproduce the 
> problem.  Is it a known bug with 2.0.58d? Has anyone else ever noticed 
> this happening and just put it down to user error?
> 
> I'll try to explain what I mean.
> Say I have a repository
> /home/cvs/CVSREPOS
> 
> Which contains the CVSROOT control files in
> /home/cvs/CVSREPOS/CVSROOT
> 
> And contains a top level directory for the product we are developing in 
> this repository.
> /home/cvs/CVSREPOS/Product
> 
> The Product contains a series of sub directories where most of the 
> development goes on including adding additional files
> /home/cvs/CVSREPOS/Product/src/
> /home/cvs/CVSREPOS/Product/bin/
> /home/cvs/CVSREPOS/Product/lib/
> /home/cvs/CVSREPOS/Product/lib/doc
> /home/cvs/CVSREPOS/Product/projects/cust1/config/
> 
> The problem occasionally surfaces when my users add and commit a file to 
>  a relatively deep directory.
> /home/cvs/CVSREPOS/Product/projects/cust1/config/{This is where new file 
> is theoretically added}
> 
> And this is where the new file turns up
> /home/cvs/CVSREPOS/{new file erroneously turns up here}
> 
> We are all using WinCVS 1.3.21.1 (Build 1)
> Client: Concurrent Versions System (CVSNT) 2.0.58d (client/server)
> Server: Concurrent Versions System (CVSNT) 2.0.58d (client/server)
> 
> Cheers
> Mikew
> 
> 
> 



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook