WinCVS integration problem

Post your bug reports here.
Post Reply
lonestarr
Posts: 2
Joined: Fri Jan 21, 2005 12:51 pm

WinCVS integration problem

Post by lonestarr »

Hi,

I encounter a problem using CompareIt from within WinCVS (1.3.20.3 Beta 20, Build 3) to compare two revisions of a file in my CVS repository. It works sometimes when the transfer from the server to my temp directory is fast enough, otherwise CompareIt is simply too fast and try to compare the files before they are totally written on my computer. I think this is why I have a "file locked" error from CompareIt even if the file exists and is not locked.

... and congratulations for your products!

best regards,
-lonestarr

grigsoft
Site Admin
Posts: 1673
Joined: Tue Sep 23, 2003 7:37 pm
Contact:

Post by grigsoft »

Thank you for your report! I will check this. I have not used WinCvs with remote host, but shouldn't it wait enough before invoking external aplication? Otherwise I just not sure how to ensure file is ready. Maybe I will check size several times before loading file (by additional /remote switch).

lonestarr
Posts: 2
Joined: Fri Jan 21, 2005 12:51 pm

Post by lonestarr »

Yes, the size or simply the file date (wait until 0.1 sec elapsed from the file date).

Guest

Post by Guest »

So a solution that worked for me was to create a diff.bat that you call from wincvs and diff.bat should simply contain

"c:\Program Files\wincmp3u\wincmp3.exe" %*

Post Reply