[Top][All Lists]

[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

From: Mark D. Baushke
Subject: Re: FW: FW: How to tell Pre commit script the exact File Name containing Spaces?
Date: Sat, 02 Apr 2005 08:36:36 -0800

Hash: SHA1

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.)

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]