[cvsnt] Re: Branch "1"

Bo Berglund Bo.Berglund at system3r.se
Thu Mar 16 08:35:51 GMT 2006


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.


Creating a branch means the following:

1) Tag with the -b flag. The branch tag name is something like
Branch_MyTest or similar
2) Update to the branch tag (cvs update -r Branch_MyTest)
3) Edit some files in the sandbox
4) Commit the edits

It is not until step 4 that any of the files in the branch will change
revision number. Until then they will keep their old revisions.
After the commit there will be two new numbers added to the revision to
reflect the branch revision. The number of decimal points on any file is
always odd (1 for files on trunk, 3 for files committed on the first
level branch, 5 for files committed to a branch off of a branch etc):

1.11
1.11.1.2
1.11.1.6.1.2

etc

HTH

Best regards,

Bo Berglund


-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Thomas Singer
Sent: den 16 mars 2006 09:10
Cc: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] Re: Branch "1"

I just got the information from a client, that they created a branch
(parent 
branch of the normal main-trunk revisions 1.1, 1.2, ...) with the
revision 
"1" somehow and now wanted to get to know, whether this is as-designed
or by 
abusing a possible bug in CVS(NT).

Bo, I don't have the requested information.

--
Best regards,
Thomas Singer


Bo Berglund schrieb:
> On Wed, 15 Mar 2006 22:02:02 +0100, Thomas Singer <cvsnt at smartcvs.com>
> wrote:
> 
>> Is it intended to create branches without periods like "1" (without
quotes)? 
>> I always thought, that branches are only created with the "cvs (r)tag
-b" 
>> command and hence need to have at least two periods.
> 
> Could you expand your question a bit better?
> - What do you do? Exact cvs commands please.
> - What is the result?
> - What did you expect?
> - Which version of CVSNT are you using (include the build please)?
> - On what platform is the server running?
> - Platform and CVS version for the client?
> 
> 
> /Bo
> (Bo Berglund, developer in Sweden)
> _______________________________________________

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



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