[cvsnt] $Name$ keyword suddenly failing to resolve

John Peacock jpeacock at rowman.com
Thu Mar 10 19:30:04 GMT 2005


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.


Williams, Tim wrote:
> 
> So, do Branch Names NEVER show up in the $Name$ keyword?
> 

Tags are sticky, branches are not, though files added to a branch are 
sticky, apparently.  Confused yet?  See this link (watch for linewrapping):

http://cvsbook.red-bean.com/cvsbook.html#I%20am%20having%20problems%20with%20sticky%20tags%3b%20how%20do%20I%20get%20rid%20of%20them%3f

Basically, if you want to display some human-significant information, 
create a tag and use $Name$ to display that.  Branches are for 
development purposes only, not to use for releases (as such).  The way 
to work like this is to:

	branch, develop, test, merge to trunk, tag, release

where all of your releases come from the trunk only.  You can also tag a 
branch, if you have to maintain multiple version streams (like 
supporting multiple releases, for example).  But you always release off 
of the tag.

See also this link to the same document as cited above:

http://cvsbook.red-bean.com/cvsbook.html#Going%20Out%20On%20A%20Limb%20(How%20To%20Work%20With%20Branches%20And%20Survive)

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook