[cvsnt] Re: cvsnt, wincvs, cvsmailer, and loginfo?

Bo Berglund bo.berglund at telia.com
Wed Aug 4 21:02:07 BST 2004


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.


Since you are using a repository specification /cvsrepo I assume that
you are using a RepositoryPrefix of c:, which I don't know will work.
In all my cases the c:\cvsrepo is the top folder below which the
repositories reside as for example:
c:\cvsrepo\test
c:\cvsrepo\customer etc
in this scenario the RepositoryPrefix would be set to c:\cvsrepo and
the connection is done using /test or /customer and CVSMailer would
paste these together to yield the repository root path.
And finally it would look in the c:\cvsrepo\test\CVSROOT folder for
the users and loginfousers files.

Now, at least from CVSNT version 2.0.51 and maybe even before that,
but not as far back as 2.0.41a, the RepositoryPrefix setting in the
registry has been removed and this unfortunately breaks the CVSMailer
program....
So if this is your case I would first advice you to manually enter a
registry setting in the following location:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\CVS\Pserver
Item: RepositoryPrefix (string type)
Value: The path to the location of the repository, in your case
probably only c:, but in my examples above c:\cvsrepo

This will make CVSMailer behave like before in the location of the
repositories.

I am working on an update for CVSMailer to handle all the necessary
stuff automatically, but it is not yet available.

BTW: For troubleshooting CVSMailer the best info is in the CVSMailer
logfiles, not in the cvsnt traces....

/Bo Berglund

On Wed, 4 Aug 2004 14:06:04 -0500, "Jon Norman"
<jonathannorman at earthlink.net> wrote:

>Components installed on ltn-05-252:
>
>Server: Concurrent Versions System (CVSNT) 2.0.49 (client/server)
>CVSMailer 1.4.1.25
>
>loginfo contains the following line: ALL
>C:/ProgramFiles/CVSMailer/CVSMailer.exe -l$CVSPID $USER $CVSROOT %{sVv}
>CVS Server repository on machine ltn-05-252          = c:\cvsrepo
>CVS Server temp directory on machine ltn-05-252   = c:\cvstemp
>
>Components installed on Norman1:
>
>WinCVS 1.3.17.2 Beta 17 (Build 2) which uses Client: Concurrent Versions
>System (CVSNT) 2.0.41a (client/server)
>WinCVS CVSROOT using sspi protocol = jnorman at ltn-05-252:/cvsrepo
>
>Problem:
>
>The CVSMailer works fine if I perform a commit locally on ltn-05-252, but if
>I perform a commit from Norman1 I
>get an error message, "The current directory is invalid."
>
>cvs -t commit on Norman1 follows:
>
>cvs -t commit
>***** CVS exited normally with code 0 *****
>-> Tracelevel set to 1. PID is 2136
>-> Session ID is 8584110f2390000
>-> main loop with CVSROOT=:sspi:jnorman at ltn-05-252:/cvsrepo
>-> Requesting server cvsignore
>-> Requesting server cvswrappers
>-> Requesting server cvsrc (read-cvsrc2)
>cvs commit: Examining .
>-> run_exec(notepad C:\DOCUME~1\JONNOR~1\LOCALS~1\Temp\cvs1B.tmp)
>S -> Checking admin file C:/cvsrepo/CVSROOT/admin for user jnorman
>S -> RCS_checkout (/cvsrepo/KickStart/main.h,v, 1.55, , (function))
>S -> ParseInfo(C:/cvsrepo/CVSROOT/commitinfo, KickStart, ALL)
>S -> ParseInfo(C:/cvsrepo/CVSROOT/verifymsg, KickStart, not ALL)
>S -> unlink(C:\cvstemp\cvs8.tmp)
>Checking in main.h;
>/cvsrepo/KickStart/main.h,v <-- main.h
>S -> RCS_checkout (/cvsrepo/KickStart/main.h,v, 1.55, -ko,
>C:\cvstemp\cvs9.tmp)
>new revision: 1.56; previous revision: 1.55
>S -> rename(C:/cvsrepo/KickStart/,main.h,,C:/cvsrepo/KickStart/main.h,v)
>S -> chmod(C:/cvsrepo/KickStart/main.h,v,100644)
>S -> chmod(C:/cvsrepo/KickStart/,main.h,,100644)
>S -> chmod(C:/cvsrepo/KickStart/main.h,v,100444)
>S -> unlink(C:\cvstemp\cvs9.tmp)
>S -> unlink(C:\cvstemp\cvsA.tmp)
>done
>S -> RCS_checkout (/cvsrepo/KickStart/main.h,v, , , (function))
>S -> chmod(main.h,100466)
>S -> server_register(main.h, 1.56, Wed Aug 4 14:26:54 2004, , , , , ,
>4721610)
>S -> Register(main.h, 1.56, Wed Aug 4 14:26:54 2004, , , , 4721610)
>S -> fopen(C:/cvsrepo/CVSROOT/history,a)
>S -> ParseInfo(C:/cvsrepo/CVSROOT/historyinfo, KickStart, ALL)
>S -> ParseInfo(C:/cvsrepo/CVSROOT/loginfo, KickStart, ALL)
>-> unlink(C:\DOCUME~1\JONNOR~1\LOCALS~1\Temp\cvs1B.tmp)
>-> Sending file 'main.h' to server
>S -> run_popen(C:/ProgramFiles/CVSMailer/CVSMailer.exe -l0000025c jnorman
>/cvsrepo "KickStart main.h,1.55,1.56")
>The current directory is invalid.
>S -> unlink(C:/cvsrepo/KickStart/CVS/fileattr)
>S -> copy(CVS/Entries,CVS/Entries.Old)
>S -> unlink(CVS/Entries.Old)
>S -> rename(CVS/Entries.Backup,CVS/Entries)
>S -> chmod(CVS/Entries,100644)
>S -> copy(CVS/Entries.Extra,CVS/Entries.Extra.Old)
>S -> unlink(CVS/Entries.Extra.Old)
>S -> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
>S -> chmod(CVS/Entries.Extra,100644)
>S -> unlink(CVS/Entries.Log)
>S -> unlink(CVS/Entries.Extra.Log)
>S -> ParseInfo(C:/cvsrepo/CVSROOT/postcommit, KickStart, ALL)
>S -> do_module(KickStart, Checking in, , )
>-> unlink(CVS/Base/main.h)
>-> Register(main.h, 1.56, Wed Aug 4 14:26:54 2004, , , , 11327889)
>-> copy(CVS/Entries,CVS/Entries.Old)
>-> unlink(CVS/Entries.Old)
>-> rename(CVS/Entries.Backup,CVS/Entries)
>-> copy(CVS/Entries.Extra,CVS/Entries.Extra.Old)
>-> unlink(CVS/Entries.Extra.Old)
>-> rename(CVS/Entries.Extra.Backup,CVS/Entries.Extra)
>-> unlink(CVS/Entries.Log)
>-> unlink(CVS/Entries.Extra.Log)


/Bo
(Bo Berglund, developer in Sweden)



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