On Wed, Mar 29, 2006 at 03:30:51PM -0800, Tracy R Reed wrote:
>George Georgalis wrote:
>> making a $RepoName$ expand like $GeorgalisG$ above is not possible
>> out of the box. Maybe it can be programmed per suggestions in Lan's
>> last post; but in CVS, it's easy. otherwise, so far, I like svn.
>
>You want the name of the repository in the file? Would that be the path
>in the repository or the hostname of the machine hosting the repository?
>I'm not familiar with this aspect of cvs.

yeah, kind of like I described it at the top of this thread, a
shell script could come out of my repo and into "$CompanyA$" repo.
that string would be added and cvs would expand it to, that line
below. Then they could give it to company B which would revise
it 2 times and the file would end up with the full lineage in the
header.

# $CompanyA: partner/CompanyA/extra/scripts/qmail-inst.sh,v 1.2 2006/03/30 
00:00:07 Exp $
# $CompanyA: extra/scripts/qmail-inst.sh,v 1.0 2006/03/29 23:58:05 Exp $
# $GeorgalisG: mkinst/qmail-inst.sh,v 1.26 2006/02/20 19:32:09 geo Exp $

So it's pretty clear where the file came from, repo, location,
rev, date and user. And all with just two lines of CVSROOT/config
I mentioned.

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:[EMAIL PROTECTED]


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to