Jonathan Ellis wrote:
> On Tue, 25 Sep 2007 10:50:03 -0600, "Nathaniel Price"
> <[EMAIL PROTECTED]> said:
>   
>> I've been using CVS to manage changes I make to a project where a good 
>> portion of the sources come from third-parties, which makes things 
>> interesting when I make changes to those third-party sources. In an 
>> effort to help make things easier on myself, I've made a branch of the 
>> project where I add these third-party modules with the idea that instead 
>> of adding the files directly to the project, I'll add them to this 
>> branch and then merge the changes periodically when I change the files 
>> in the branch.
>>     
>
> It's been years since I used cvs.  But the term for this is "vendor
> branches," which might help with googling something.  (There is a
> discussion in the "cvs book," for instance.)
>   
Ah, thanks for telling me about that. I was able to figure out what I 
was doing wrong by looking at that CVS book. For anyone interested, I 
found it here: http://cvsbook.red-bean.com/

Basically, I had it in my head that I was supposed to specify which two 
branches I wanted to merge, when what I was really specifying is the 
range of changes that I want to merge. In other words, I was supposed to 
specify that I wanted to merge the changes that occurred between the tag 
I created and the "head" of the branch (which is identified by the 
branch's tag) into the trunk, instead of specifying the tag and HEAD to 
identify the two branches (which is wrong and doesn't even make sense 
now that I know how to think about it).

As for the vendor branch thing, I had a vague idea that that feature 
existed, but I wanted to have a solution that I could manipulate with 
TortoiseCVS or some other CVS GUI. Since TortoiseCVS supports standard 
branches and tags, I can just use it and overwrite the sources on a 
working copy of the branch when I need to add or update third party 
modules, without having to drop to the command line. Since I don't see 
any major benefit to trying to use vendor branches in this case, I'm 
just going to use the standard branching.

Yes, I like weenie GUIs. ;)
>> And please don't give me the "Use [other source control system here]" 
>> answer; the decision to use CVS is not in my control.
>>     
>
> Hmm, okay.  How about, "Get a job where your boss has more of a clue?"
> :)
>   
*chuckles* Actually, I don't mind CVS that much; granted TortoiseCVS 
takes away most of the pain and I don't do branching stuff that often 
(as you can tell), and I could probably get us to switch if I raised a 
stink... but then *I* would most likely be stuck with the task of 
converting the repository, which isn't something I'm anxious to do; I'm 
a web developer, not a sysadmin ;).

Anyway, thanks for pointing out that book, it was very helpful. 
Surprised it didn't come up on the first round of googling I did.

--
Nathaniel Price
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to