Determining version in the working directory:

$ ketchup -m
2.6.10

Update to the latest release:

$ ketchup 2.6-tip
2.6.10 -> 2.6.12.5
Applying patch-2.6.11.bz2
Applying patch-2.6.12.bz2
Applying patch-2.6.12.5.bz2

Downgrade to a particular release, downloading patches as necessary:

$ ketchup 2.6.11-rc3
2.6.12.5 -> 2.6.11-rc3
Applying patch-2.6.12.5.bz2 -R
Applying patch-2.6.12.bz2 -R
Applying patch-2.6.11.bz2 -R
Downloading patch-2.6.11-rc3.bz2
--18:35:43--  http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.11-rc3.bz2
           => `/home/example/.ketchup/patch-2.6.11-rc3.bz2.partial'
Resolving www.kernel.org... 204.152.191.5, 204.152.191.37
Connecting to www.kernel.org|204.152.191.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3,826,416 (3.6M) [application/x-bzip2]

100%[====================================>] 3,826,416    580.12K/s    ETA 00:00

18:35:51 (499.82 KB/s) - `/home/example/.ketchup/patch-2.6.11-rc3.bz2.partial' saved [3826416/3826416]

Downloading patch-2.6.11-rc3.bz2.sign
--18:35:51--  http://www.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.11-rc3.bz2.sign
           => `/home/example/.ketchup/patch-2.6.11-rc3.bz2.sign.partial'
Resolving www.kernel.org... 204.152.191.5, 204.152.191.37
Connecting to www.kernel.org|204.152.191.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 248 [application/x-bzip2]

100%[====================================>] 248           --.--K/s

18:35:51 (21.50 MB/s) - `/home/example/.ketchup/patch-2.6.11-rc3.bz2.sign.partial' saved [248/248]

Verifying signature...
gpg: Signature made Wed Feb  2 19:03:36 2005 PST using DSA key ID 517D0F0E
gpg: Good signature from "Linux Kernel Archives Verification Key <ftpadmin@kernel.org>"
gpg:                 aka "Linux Kernel Archives Verification Key <ftpadmin@kernel.org>"
Primary key fingerprint: C75D C40A 11D7 AF88 9981  ED5B C86B A06A 517D 0F0E
Applying patch-2.6.11-rc3.bz2

Report the latest version of a particular tree:

$ ketchup -s 2.6-mm
2.6.13-rc6-mm2

Find the URL for a given version:

$ ketchup -u 2.6-mm
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc6/2.6.13-rc6-mm2/2.6.13-rc6-mm2.bz2

ExampleUsage (last edited 2005-08-27 01:40:18 by 10)