[cvsnt] Re: Trunk, branches & 'head'

Harrison, Andrew andy.harrison at anite.com
Tue Apr 27 14:34:45 BST 2004


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.


> From: Oliver Giesen [mailto:ogware at gmx.net]
> 
> apply a technique called "reversion".

Great, thanks for that. I was hoping I could actually delete the revisions
en-masse so that they all went back to 1.1, but this should achieve the same
result with some files set at 1.3. 


> HEAD will get you the latest revision on the "default" branch for a 
> file. However, if you 
> initially put the files into the repository by means of the Import 
> command, the default branch will be set to the 1.1.1 vendor 
> branch. 

> You could 
> also manipulate the default branch using the cvs admin -b command but 
> this undocumented and therefore not recommended unless you absolutely 
> know what you're doing.

Ok, I think that's what happened. How does the cvs admin -b command work?
I'd rtfm, but you just said it was undocumented.

> You shouldn't really have to care. If no sticky tag/branch is 
> active in 
> your working copy then the next commit will go to the trunk 
> no matter what.

If no sticky tag/branch is active in my working copy then when I do an
update it gets out the default branch. If I then do a commit it will go back
into the trunk, even if the trunk is not the default branch. That is very
confusing. Also it means that all the changes that have happened in the
default branch since it branched off the trunk get included in the new
revision in the trunk. Surely both update & commit with no sticky tag or
branch should both work on the default branch?

Thanks,
Andy

--
Andy Harrison - Platform Software Engineer 
Anite Telecoms Ltd. 127 Fleet Road, Fleet, Hampshire, GU51 3QN, UK
"No matter how bad things seem... 
...nothing could be worse than being used as a towel rail." - A.A. Milne

Please note that my email domain has changed from @anitetelecoms.com to
@anite.com 
Registered in England No. 1721900 Registered Office: 353 Buckingham Avenue,
Slough, Berkshire SL1 4PF, United Kingdom 





Scanned for viruses by MessageLabs. The integrity and security of this message cannot be guaranteed. This email is intended for the named recipient only, and may contain confidential information and proprietary material. Any unauthorised use or disclosure is prohibited.


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