Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] The road ahead...
Date: Sat, 22 Oct 2005 11:48:05
Message-Id: 20051022134822.26a729cd@sven.genone.homeip.net
In Reply to: Re: [gentoo-portage-dev] The road ahead... by Jason Stubbs
1 On Sat, 22 Oct 2005 00:14:40 +0900
2 Jason Stubbs <jstubbs@g.o> wrote:
3
4 > The cheapness is exactly why I was questioning. Consider:
5 >
6 > # svn cp tags/2.0.53 branches/2.0.53-branch
7 > # cd branches/2.0.53-branch
8 > # patch < something-that-needs-fixing-now.patch
9 > # svn ci
10 > # cd ../..
11 > # svn cp branches/2.0.53-branch tags/2.0.53-r1
12 > # svn rm branches/2.0.53-branch
13 > # svn ci
14
15 The last fives steps are easier to do:
16 # svn ci # could even omit this, but that's bad practice
17 # svn mv . ../../tags/2.0.53-something
18 # cd ../..
19 # svn ci
20
21 > compared to:
22 >
23 > # svn cp tags/2.0.53 tags/2.0.53-r1
24 > # cd tags/2.0.53-r1
25 > # patch < something-that-needs-fixing-now.patch
26 > # svn ci
27 >
28 > With the way subversion works, I would have thought the end result
29 > would be identical...
30
31 It is, but the concept of a tag in vcs (as I understand it) is that
32 it's immutable, and branches are the mutable counterpart. Technically
33 it doesn't matter to svn.
34
35 Marius
36
37 --
38 Public Key at http://www.genone.de/info/gpg-key.pub
39
40 In the beginning, there was nothing. And God said, 'Let there be
41 Light.' And there was still nothing, but you could see a bit better.