From 075d834f280599336e554e2f8ccefec8e4445229 Mon Sep 17 00:00:00 2001 From: zooko <> Date: Fri, 25 Mar 2011 20:39:10 +0000 Subject: [PATCH] explain how to ensure no unnecessary deps in patch submissions [Imported from Trac: page Patches, version 21] --- Patches.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Patches.md b/Patches.md index a673abd..c23d4d2 100644 --- a/Patches.md +++ b/Patches.md @@ -2,6 +2,10 @@ Please create a new ticket to track the issue unless your patch is a patch for an issue that is already ticketed. +Then get a darcs repository which has the current trunk in it. You can do this by running `darcs get --lazy pristine`, which makes a new subdirectory of the current directory whose name is `pristine` and which contains a copy of the current trunk. + +Then cd into the pristine directory and pull the patch you've written into it (this may require other patches which your patch depends on to come along for the ride—that's okay). + Then run the following darcs commands to generate a darcs patch file named `WHAT.darcs.patch`: ```