Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
John: Sorry about my flip reply earlier. I was incorrect and believe I had a serious misunderstanding of the keyword $Name$. See below. Lets say I branch development at revision 1.2 as branch name "BRANCH1" but make no changes on that branch. I branch again later at revision 1.4 as "BRANCH2" and commit two revisions on that branch: 1.4.2.1, 1.4.2.2. I tag 1.4.2.2 as "Release1" and commit a later revision 1.4.2.3. If I checkout using the tag name Release1, I do get that name resolved in the program! If I checkout the branch "BRANCH2" I do not. I assume this is because when I do that, I am actually getting revision 1.4.2.3 - the most recent revision on that branch. Now here comes the source of my confusion: If I checkout using the branch name BRANCH1, I do not get that name in the program header. I thought I would, because I was checking out the project using that name and "stepping back in time" to revision 1.2, BUT that revision is not sticky because development could take place off of that branch now, with revisions such as 1.2.4.1, 1.2.4.2, etc. Am I finally grasping the concept? :-) So, do Branch Names NEVER show up in the $Name$ keyword? Thanks in advance, everyone. I appreciate your patience with me. I thought I had this all figured out. Heh! Tim -----Original Message----- From: John Peacock [mailto:jpeacock at rowman.com] Sent: Thursday, March 10, 2005 12:25 PM To: Williams, Tim Cc: Merrill Cornish; cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Subject: Re: [cvsnt] $Name$ keyword suddenly failing to resolve Williams, Tim wrote: > It appears to be just the $Name$ keyword that is having the problem. > For example, this code was checked out using the tagname "Release1" : > > PROGRAM NAME : $RCSfile: FOO.SAS,v $ > REV/REV AUTH : $Revision: 1.2 $ / $Author: WilliamsTim $ > REV DATE : $Date: 2004/05/03 20:09:45 $ UTC > TAG : $Name: $ > $Name$ -- Name of the sticky tag Your file is not on a branch or otherwise sticky. John