- priority: 5 --> 4
There is scenario:
I have CVS repository on UNIX machine, I am using ssh
connection to access it
from PC and from other UNIX machines. I want to setup
hook in CVSROOT/loginfo
to cutch moment when I remove files and clean some
other files that have been
generated from removed one. The main problem on
server side I dont know where
this original file has been checked out. So on UNIX I
setup next line in .cvsrc
file: cvs -s PROJDIR=`pwd`
and in CVSROOT/loginfo I added:
ALL /tools/myhook.sh ${=PROJDIR}
Now I know from what location this call came from.
Problem on PC that DOS does not execute `pwd` it
executed on server and it
useless /tmp/cvs_*** directory.
Is it possible to make WinCVS understand some
macros.
For example I can set cvs -s PROJDIR=$PWD and
WinCVS will replace it to cvs -s
PROJDIR=/yser/leon/ddd ?
Or did this in "Globals" dialog by adding one more input
line:
Other options or User Variable where I can specified
s
PROJDIR=/user/leon/ddd
and even better if I could use come WinCVS macro
values like:
s PROJDIR=$CUR_DIR or s
PROJDIR=$HOST_NAME and WinCVS would replace
them to
the real values.
This will help to send more invormation from client to
server.