logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: CVS update: MODIFIED: src ...: msg#00129

version-control.cvs.bugs

Subject: Re: CVS update: MODIFIED: src ...

In <mailman.1228.1043988630.21513.bug-cvs@xxxxxxx> Derek Robert Price
<derek@xxxxxxxxxxx> writes:

>I just checked in some tests for the behavior of the $Name$ keyword.
>This is what I noticed:

> 1. Updates and checkouts of branches do not set the $Name$ keyword.
> The doc specifies that $Name$ will be substituted with the
> symbolic name used to check out the revision. It does not specify
> tags and not branches. Ditto for the RCS doc.
> 2. Checkouts from static tags always set $Name$.

>Comments?

Just that I agree with you. You can make a case that $Name$ should be
expanded only on release tags because only a release tag gives
unambiguous information as to what is being built. Personally, I'd
rather have the information on branch tags as well; if I misuse it,
that would be my problem.


> 3. Updates only set $Name$ when the files are otherwise updated.
> i.e. cvs up -A; cvs up -rtag will not set any $Name$ keywords if
> tag specifies the trunk of the tree. We could call this, "as
> documented", since the doc specifies that the $Name$ keyword is
> updated on "checkout", but this does not seem optimal to me.
> After all, cvs up -k* updates the keywords in every file
> regardless of other file status. Why shouldn't $Name$ be updated?

Did you try "update -p" ? I don't remember how it goes, but I think
that "cvs update -p dummyfile > dummyfile" expands the keyword. It will
of course clobber any sandbox changes in dummyfile, so the use case
would be to keep dummyfile around just for its Name keyword, so the
built executable is able to identify itself.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation