Re: RedHat 7.[23] RPMS for Subversion
From: Alexis Huxley <ahuxley_at_gmx.net>
Date: 2002-06-19 18:23:15 CEST
> "tag" -- A pristine snapshot of prior revision(s), to which no
It does, thanks Karl, nice pic ;-) as did Ben's suggested
> > http://subversion.tigris.org/files/documents/15/17/svn-design.html
The concepts are now clear, but not the application - in a non-
Let me make up a whole revision history here, using svn commands,
Ok, I create a 'pseudo-module' under my respository root for a project
svn mkdir http://dione.no-ip.org/svn/mumc
and I provide it with the structure that was used on the svn RPMs
svn mkdir http://dione.no-ip.org/svn/mumc/trunk
and then I import my work thus far into the trunk:
cd <mumc_sources>
Ok, then I move <mumc_sources> out of the way and - from now on -
mv <mumc_sources> <mumc_sources>.obsolete
and thereafter enter a cycle of:
vi <old_file>
and stuff like that.
Ok, so then one day, I decide it's ready for its first release so
vi patchlevel.h README NEWS <other_files_mentioning_release_id>
svn cp http://dione.no-ip.org/svn/mumc/trunk http://dione.no-ip.org/svn/mumc/tags/release-1.0
So then I repeat some more development loops (vi+commit) and
Then one day some customer with release-1.0 says they've found a
1) I get a working copy of release-1.0:
svn co http://dione.no-ip.org/svn/mumc/tags/release-1.0 -d mumc
and I'll put it back into 'branches' *after* I've fixed the bug, or
2) I clone the release into a branch first, and then get a working copy
svn cp http://dione.no-ip.org/svn/mumc/tags/release-1.0 http://dione.no-ip.org/svn/mumc/branches/release-1.0-bug001
Ok, so anyway, then I fix the bug:
cd mumc
And now I commit the branch back. If I made the branch according to
svn commit
but if it was according to (1) then I ... hmm ... I guess it must be
Perhaps I get more bug reports here, and do the same thing making
... Some time later I do a merge, to ensure that the fix for bug001
svn merge http://dione.no-ip.org/svn/mumc/branches/release-1.0-bug001 http://dione.no-ip.org/svn/mumc/trunk
And finally, to indicate that that branch is now closed, that all
svn rm http://dione.no-ip.org/svn/mumc/branches/release-1.0-bug001
How does that sound?
At the moment, my simple pseudo-modules all have these three 'trunk',
Alexis
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.