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

From: Adam Keys (akeys@post.cis.smu.edu)
Date: Sat Mar 16 2002 - 19:54:00 EST


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.

So far I have found two ways to get from 1.157 to 1.158. One is to pull from
the parent and then undo down to 1.158. The only other way that has been
suggested to me is to pull 1.158 in parallel and then import the patch there.

I have only tried the former with little to no success thus far. For one
thing the trees are sparse after I've cloned them, which IIRC is related to
BK's mode of operation. After a bk -r co -q the tree seems to be properly
populated. Secondly, undoing a revision also undoes any imported patches.
Finally, sometimes BK has refused to do anything when there are extra files
lying around. None of these things are flaws in BK, just indicative of my
misunderstanding of the tool.

The second method I deem unusable because 1) BK operations are extremely slow
on my machine (dual p2/400 256 MB ram) and 2) would be extremely wasteful of
diskspace to have lots of trees laying around (?).

I have read much of the documentation including the user guide, the website
tutorial, the reference guide and much of the help documentation and the
solution to my problem is not apparent. resync seemed to be the closest to
what I want but it is only useful when creating a repository.

So, does anyone have any suggestions on how to update revision by revision
while keeping patches applied?

Thanks in advance,

-- 
akk~

- 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/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:13 EST