Alexis Huxley <firstname.lastname@example.org> writes:
> > > And finally, to indicate that that branch is now closed, that all
> > > appropriate code from the branch has been merged into the trunk,
> > > I delete it:
> > >
> > > svn rm http://dione.no-ip.org/svn/mumc/branches/release-1.0-bug001
> > >
> > > How does that sound?
> > Do you really want to delete the branch? I mean, what if more people
> > come along and find bugs in 1.0 of your product again? Wouldn't you
> > want to fix the bug in both the 1.0 branch and the trunk, and release
> > a new tarball from your branch? Just a matter of policy, here.
> Oops ... yes, but ...
> Where do you keep track of all the versions in the field? In tags or
> branches, or a combination of both? I'd assumed this was the
> requirement that tags was fulfilling ...
> If it *is* tags, then how about (1) the branch with the fix gets
> copied into tags, (2) a distribution is prepared from this tag, (3)
> at my leisure I merge the bug fix back into the trunk and then (4)
> delete the branch.
> What do you think?
Why make so much work for yourself? It means that every time a new
bug needs to be fixed in the branch, you need to a whole bunch of
extra things: create "temporary" branch from a tag, copy the changed
branch back to a tag, and then destroy the temporary branch.
That's a whole lot of unnecessary busywork. Wouldn't it be easier
just to keep the 1.0 branch up and running all the time?
There's nothing special about tags. They're just branches ("snapshots
in time") that you never commit changes to. They're useful as
reminders, but you're not compelled to use them.
For example, we could have created a tag for each release of
Subversion. We actually started down that path, and then said, "nah,
why bother? If I look in our CHANGES file, I just *know* that release
0.12.0 was r1868 of /trunk). So we're not using tags at all right
It's funny really.... when Jim Blandy designed this system, he was
hoping that we could eventually do away with the terms "branch" and
"tag" altogether. In Subversion, we only have a single idea:
"copies". The only reason we keep talking about branches and tags is
because we're trying to get CVS users to understand how to make SVN do
what they're used to.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Wed Jun 19 19:33:44 2002