logo       

Re: how to merge changes from branches to trunk?: msg#01757

Subject: Re: how to merge changes from branches to trunk?

    > From: Pau Aliagas <linuxnow@xxxxxxxxxxx>

    > > Do you want to simply merge all of the changes on the branch back to
    > > the trunk?   In that case:

    > >         % tla get $TRUNK  trunk
    > >         % cd trunk
    > >         % tla star-merge $BRANCH . 
    > >         ...
    > >         % tla commit

    > This is what I usually want.

    > > is a good bet.   If you're trying to do something more complicated,
    > > then other approaches might be called for.

    > > But it's a little weak just to give you a recipe here -- if you're
    > > going to work with branches heavily, eventually you'll want to learn a
    > > bit about how patch-logs work and how they interact with (especially)
    > > replay, star-merge, and sync-tree.

    > If I try to cherrypick changesets, shall I run "tla join-branch" to import
    > the patch-log? Will it be automaitcally imported when I specify the 
    > patch-xyz in replay/update?

join-branch will add the base-0 patch-log.  You don't need it to cherry-pick.

"Just" consider what `replay --exact' will do:

It will grab the changeset for patch-xyz and apply it to your tree.

Every simple revision (one created with commit) has a changeset that
includes the source changes in that revision, and that adds a new
file:  the patch log entry for that revision.   So when you apply that
changeset to your project tree, it will add the patch log entry,
creating directories under {arch} as needed.

-t


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe