Re: [BK] Having a hard time updating by pre-patch

Larry McVoy (lm@bitmover.com)
Sat, 16 Mar 2002 20:27:03 -0800


On Sat, Mar 16, 2002 at 06:54:00PM -0600, Adam Keys wrote:
> First let me describe my goal: I am trying to get UML working with the
> recent 2.5.x versions. Currently, the most recent UML patch for 2.5 is
> against 2.5.2-pre11.
>
> What I have done is clone'd http://linux.bkbits.net/linux-2.5 and then cloned
> that to a working repository. When I cloned I used -r1.157, which is the
> revision 2.5.2-pre11 was. I then apply the UML patch with bk import. My
> next step would be to go to rev 1.158 and make sure everything works.
> Provided everything is OK at that step, I would go to the next rev and repeat.

You can do that and it will take a while because you have to port forward
to each step. Why not just patch it in at 1.157 and then pull again to
pull it all the way forward?

Anyway, to do what you asked, here's what I'd do:

bk clone bk://linux.bkbits.net/linux-2.5
bk clone -lr1.157 linux-2.5 2.5.2-pre11
bk import -tpatch ....
bk clone -lr1.158 linux-2.5 next
bk pull
repeat

-- 
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/