You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by albert kong <al...@tom.com> on 2009/04/27 10:48:38 UTC

How to solve my misuse of subversion

After revision80, I need to add a unique feature (let's call it featureQ), So I could see revision80 can be a version(Unfortunately I did nothing on subversion not creating a *BRANCH* or a *TAG*. The reason is that I heard too many about the complexity to maintain *BRANCH*). From revision80 to revision90 is all the code changes about featureQ.

But now I should add a small feature(let's call it featureW) to revision80, but not to codes after revision80.

So how to make a resolution about my such situation?
The more detailed the better. Thanks in advance.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1943797

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: How to solve my misuse of subversion

Posted by Nicholas Curry <Ni...@cofunds.co.uk>.
That basically is how to create a branch. I also can't think of a way of
doing this without creating a branch. Branches aren't hard to maintain,
and the type of situation you're describing is pretty much a textbook
use case for a branch.

 

You can retrospectively tag revisions in SVN, so no worries about that:

svn cp https://svnrepo/myproject/trunk@80
https://svnrepo/myproject/tags/Revision80

 

Creating tags and branches in SVN is effectively a copy task - read the
SVN manual for more info on how that works.

 

From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com] 
Sent: 27 April 2009 12:37
To: albert kong
Cc: users@subversion.tigris.org
Subject: Re: How to solve my misuse of subversion

 

svn cp https://svnrepo/myproject/trunk@80
https://svnrepo/myproject/braches/featureW -m "createing a branch from
rev 80 for feature W"

2009/4/27 albert kong <al...@tom.com>

After revision80, I need to add a unique feature (let's call it
featureQ), So I could see revision80 can be a version(Unfortunately I
did nothing on subversion not creating a *BRANCH* or a *TAG*. The reason
is that I heard too many about the complexity to maintain *BRANCH*).

Re: How to solve my misuse of subversion

Posted by Stephen Connolly <st...@gmail.com>.
svn cp https://svnrepo/myproject/trunk@80
https://svnrepo/myproject/braches/featureW -m "createing a branch from rev
80 for feature W"

2009/4/27 albert kong <al...@tom.com>

> After revision80, I need to add a unique feature (let's call it featureQ),
> So I could see revision80 can be a version(Unfortunately I did nothing on
> subversion not creating a *BRANCH* or a *TAG*. The reason is that I heard
> too many about the complexity to maintain *BRANCH*). From revision80 to
> revision90 is all the code changes about featureQ.
>
> But now I should add a small feature(let's call it featureW) to revision80,
> but not to codes after revision80.
>
> So how to make a resolution about my such situation?
> The more detailed the better. Thanks in advance.
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1943797
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1944442

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].