Hi Folks

I've encountered a problem with loginfo in conjunction with Repository prefix.

My setup is as follows:
        Repository: d:/repositories/prj/test
        Repository prefix: d:/repositories
        CVSROOT: :sspi:host:/prj/test
        loginfo: DEFAULT ( echo %s && date /t && time /t ) >> 
$CVSROOT/CVSROOT/commitlog

On a commit I get:
Checking in test.java;
D:/Repository/prj/test/at/test.java,v  <--  test.java
new revision: 1.10; previous revision: 1.9
done
' from cvs serverng: unrecognized response `The system cannot find the path specified.

Using the -t option I get:
[snip-snip]
S-> run_popen((echo "at test.java" && date /t && time /t ) >> 
/prj/test/CVSROOT/commitlog,w)
' from cvs serverng: unrecognized response `The system cannot find the path specified.
[snip-snip]

That is, the server cannot find /prj/test/CVSROOT/commitlog which is fair since it is 
in d:/repositories/prj/test/CVSROOT/commitlog.

I believe the repository prefix should be prefixed when $CVSROOT is expanded.

regards
anders
---
Anders Truelsen, Systematic Software Engineering A/S
Email: mailto:[EMAIL PROTECTED]
Phone: +45 8943 2151
Fax:   +45 8943 2020
Web:   http://www.systematic.dk
_______________________________________________
Cvsnt mailing list
[EMAIL PROTECTED]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Reply via email to