[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: merge between two branchs
From: |
Stig Brautaset |
Subject: |
[Gnu-arch-users] Re: merge between two branchs |
Date: |
Fri, 23 Apr 2004 15:01:11 +0100 |
User-agent: |
Mutt/1.3.28i |
On Apr 23 2004, Aaron wrote:
> >But before merging the MAIN branch, i want to share somes patchs between
> >B1 and B2. For example B1 add a file and B2 want to works on this
> >file. But i don't want to touch the MAIN branch for this (B2 doesn't
> >whant all the patchs from B2 for now).
> >
> >If there is no arch command for this i can put the patch i want by hand,
> >but i have somes stranges conflicts.
> >
> >For example B1 add a line in a file and B2 add the _same line_ to the
> >_same file_. When i star-merge from MAIN the file get two times the
> >line (of course...).
>
> replay --skip-present may do the trick for you. If you merge B1 into
> MAIN, then replay --skip-present B2, it will skip all the patches in B2
> that contain patchlogs from B1.
You may want to follow that with a 'sync-tree B2' to merge in the
patchlogs for the changesets --skip-present skipped. star-merge should
work again after that.
Stig
--
brautaset.org