Re: [PATCH] Make gcapatch work for all bk transports

From: Jeff Garzik
Date: Fri Dec 17 2004 - 17:46:12 EST

Kumar Gala wrote:

Makes the gcapatch script work for any bk transport (including http).

Signed-off-by: Kumar Gala <kumar.gala@xxxxxxxxxxxxx>


diff -Nru a/Documentation/BK-usage/gcapatch b/Documentation/BK-usage/gcapatch
--- a/Documentation/BK-usage/gcapatch 2004-12-17 13:42:32 -06:00
+++ b/Documentation/BK-usage/gcapatch 2004-12-17 13:42:32 -06:00
@@ -5,4 +5,4 @@
# Usage: gcapatch > foo.patch
-bk export -tpatch -hdu -r`bk repogca bk://`,+
+bk export -tpatch -hdu -r$(bk repogca $(bk parent -p)),+

It's an example script, meant to be modified to suit your local tastes.

Your patch isn't useful for situations (such as mine :)) where you have more than one level of parent, but you want to generate a patch versus mainline (not the parent).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at