[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FW: FW: How to tell Pre commit script the exact File Name containing
Mark D. Baushke
Re: FW: FW: How to tell Pre commit script the exact File Name containing Spaces?
Sat, 02 Apr 2005 08:36:36 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Paras jain <address@hidden> writes:
> Thanks Russ, (Sorry Russ please ignore previous mail)
> >>You can test this by creating a script with the above as contents.
> >>Run it with args: a b "b a". Then remove the quotes from the $@ ant
> >>try it again with the same args to see what (ba)sh does to the args.
> But my script is getting from CVS server is a b c not a "b c"
> That is why for I in "$@" not helped me....
> Let two files named as a and "b c" then CVS server send to my script
> is a b c not a "b c" ...
> I think I need to modify slightly in CVS code so that Pre-commit
> script will get files surrounded by double quotes but I am not known
> to CVS code ?? If anybody has the same problem or can guide me where
> to start...
Pick up a copy of cvs 1.12.x and look at putting
UseNewInfoFmtStrings=yes in your CVSROOT/config file along with changes
to the various CVSROOT trigger files.
for more details.
(I believe this feature was introduced in cvs 1.12.6.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
-----END PGP SIGNATURE-----