Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Open-source repository question
- Date: Thu, 16 Jul 2009 21:59:29 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Open-source repository question
- References: <5634e9210907141717r18873031s7dfc4dd216c708a5@example.com> <877hyak75b.fsf@example.com> <4A5D556F.2050605@example.com> <873a8yjvhd.fsf@example.com> <4A5D9487.7010604@example.com> <87ws6ai6ag.fsf@example.com> <4A5E7B53.4000106@example.com> <87k529i1xd.fsf@example.com> <4A5EDCD8.9070705@example.com> <87fxcwj4t4.fsf@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2009-07-16 19:33 +0900 (Thu), Stephen J. Turnbull wrote: > Edward Middleton writes: > > > Do any of the mercurial hosting services have anything equivalent > > to the github network graph visualizer[2]? > > Not that I know of. I don't know why Mercurial users would want one, > to be frank; Mercurial itself strongly encourages linear development > and rapid reconvergence to a handful (at most) number of branches. Fascinating. I don't have the time, of course, but I definitely need to check this out before proceeding much further with git. In my world, we don't use branches much. Out of three dozen or so projects we've got in our main svn repo, perhaps three have a branch or tag. I'd not thought about why we don't use branches much, but upon reflection, two points come to mind. First, branches are anti-social. They're a way of saying, "I can't work closely with you, so I'm going to ignore you. They're also, to a lesser degree, a way of avoiding responsibility: when you make a change that breaks something over in another branch, you're saying that you don't want to know about that and deal with it now, you want to leave it for the merge (and perhaps whatever poor sod ends up doing it instead of you). Some developers will claim that for major changes that touch things everywhere in the system, when other people are also working on things, branches are essential. That's rubbish. I do those sorts of changes on a regular basis, I do them on the head, and I don't kill the productivity of other developers when doing so. Second, branches are expensive. Some VCSs may make it "cheap" to create branches, but there is no such thing as cheap merging: the cost of merging always goes up more than linearly with the size of the change. Working on a branch is like paying for something on a credit card: if you don't pay it off real quick (i.e., merge back to trunk), you're going to pay a lot more later. I like to think of my VCS as providing the cheapest branches of all. After I update, the first edit of a file creates a branch. They're also the shortest branches; as soon as I merge any new changes and commit, the branch is over. By that criterion, in our largest repo we've had close to 12,000 branches in the last three years, or an average of ten or so branches per day. So now you know. When someone starts saying otherwise, they're not saying that it can't be done. They're just saying that they can't do it. cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] Open-source repository question
- From: Stephen J. Turnbull
- Re: [tlug] Open-source repository question
- From: Jon Povey
- References:
- [tlug] Open-source repository question
- From: Jim Breen
- [tlug] Open-source repository question
- From: Stephen J. Turnbull
- Re: [tlug] Open-source repository question
- From: Edward Middleton
- Re: [tlug] Open-source repository question
- From: Stephen J. Turnbull
- Re: [tlug] Open-source repository question
- From: Edward Middleton
- Re: [tlug] Open-source repository question
- From: Stephen J. Turnbull
- Re: [tlug] Open-source repository question
- From: Edward Middleton
- Re: [tlug] Open-source repository question
- From: Stephen J. Turnbull
- Re: [tlug] Open-source repository question
- From: Edward Middleton
- Re: [tlug] Open-source repository question
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Mythbuntu 9.04 rejecting Android USB connection
- Next by Date: Re: [tlug] See USB drive over network [SOLVED]
- Previous by thread: Re: [tlug] Open-source repository question
- Next by thread: Re: [tlug] Open-source repository question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links