[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: commitinfo and file content

From: Chad Miller
Subject: Re: commitinfo and file content
Date: Tue, 19 Dec 2000 10:43:49 -0500
User-agent: Mutt/1.2.5i

Thank you for the replies -- the program does exactly what I want, now.

To sum up, though the repository name is given in as the first augument
to your program, you should ignore it.  It's useless.  Contrary to the 
supposedly obvious, one must not concat the reposname and the filename
together to find the checked-in file.

Instead, the CVS server creates a temporary directory, and your program
is run with that as its PWD.  The accessable files are the relative
filenames given on the command line.  If you must use absoulte filenames, 
concat PWD and the files with your directory seperator.

Thanks bunches.  This sort of note should go in the manuals, I think.

                                                - chad

Chad Miller <address@hidden>   URL:   (GPG)
"Any technology distinguishable from magic is insufficiently advanced".
First corollary to Clarke's Third Law (Jargon File, v4.2.0, 'magic')

reply via email to

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