Discussion:
Re-Root a Branch
(too old to reply)
Jake Colman
2012-08-01 12:30:00 UTC
Permalink
I created a new project branch off my Integration Branch. Before I
started work on the new branch a second project merged to the
Integration Branch. I would really like my new project to be built
using that new project's code base. Can I re-root the branch so that it
off of the new tip of the Integration Branch? Is that just a matter of
moving the branch tag the way I might move a symbolic tag?

Thanks.
--
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: ***@ppllc.com | w: www.principiapartners.com
Credit technology innovation awards winner 2008, 2009 & 2010
Larry Jones
2012-08-01 18:23:48 UTC
Permalink
Post by Jake Colman
Can I re-root the branch so that it
off of the new tip of the Integration Branch? Is that just a matter of
moving the branch tag the way I might move a symbolic tag?
Yes to both.
--
Larry Jones

This sounds suspiciously like one of Dad's plots to build my character.
-- Calvin
Jake Colman
2012-08-01 22:07:42 UTC
Permalink
Since there were no commits to the new project branch I essentially want
to make believe as if I had never done it and start again from scratch.
Deleting the branch as you suggested would certainly give me a fresh
start. Any reason not do just that instead of moving the branch tag?
SRG> Classification: UNCLASSIFIED
SRG> Caveats: NONE

SRG> Could you remove the project branch (cvs tag -d -B <branch>) and
SRG> recreate it with the latest Integration branch code?

SRG> -----Original Message-----
SRG> From: info-cvs-bounces+steven.glasgow=***@nongnu.org
SRG> [mailto:info-cvs-bounces+steven.glasgow=***@nongnu.org] On Behalf Of
SRG> Jake Colman
SRG> Sent: Wednesday, August 01, 2012 7:29 AM
SRG> To: info-***@gnu.org
SRG> Subject: Re-Root a Branch

SRG> I created a new project branch off my Integration Branch.
SRG> Before I started work on the new branch a second project merged
SRG> to the Integration Branch. I would really like my new project
SRG> to be built using that new project's code base. Can I re-root
SRG> the branch so that it off of the new tip of the Integration
SRG> Branch? Is that just a matter of moving the branch tag the way
SRG> I might move a symbolic tag?

SRG> Thanks.

SRG> --
SRG> Jake Colman | Director, Software Development Principia Partners LLC
SRG> 101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
SRG> t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
SRG> e: ***@ppllc.com | w: www.principiapartners.com Credit technology
SRG> innovation awards winner 2008, 2009 & 2010

SRG> Classification: UNCLASSIFIED
SRG> Caveats: NONE
--
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: ***@ppllc.com | w: www.principiapartners.com
Credit technology innovation awards winner 2008, 2009 & 2010
Larry Jones
2012-08-01 22:25:27 UTC
Permalink
Post by Jake Colman
Since there were no commits to the new project branch I essentially want
to make believe as if I had never done it and start again from scratch.
Deleting the branch as you suggested would certainly give me a fresh
start. Any reason not do just that instead of moving the branch tag?
Only that it takes two commands instead of one. Either will work fine.
--
Larry Jones

Whatever it is, it's driving me crazy! -- Calvin
Loading...