Mercurial > hg-website
diff text/workflows.txt @ 117:f3bf81b67f7b
workflows: Added the basic patch submission workflow.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Fri, 24 Apr 2009 10:46:36 +0200 |
parents | 7666e300f284 |
children | a5c7422e4e4c |
line wrap: on
line diff
--- a/text/workflows.txt Fri Apr 24 10:33:29 2009 +0200 +++ b/text/workflows.txt Fri Apr 24 10:46:36 2009 +0200 @@ -37,14 +37,36 @@ === One-off patch submission === -==== Use Case ==== +==== For whom? ==== + +If you just want to submit a short patch to a project, this workflow is right for you. ==== Requirements ==== +You need just Mercurial (command line) and an email address to which you can send the patch. + ==== Flow ==== -- local work -- sharing changes +First get the repository + +$ hg clone http://hg-scm.org/hello + +Now do and commit your changes + +$ cd hello +$ (edit files) +$ hg add (new files) +$ hg commit -m 'short descriptioni of the changes' + +Export your patch + +$ hg export tip > patch.diff + +And send patch.diff to the developers email address, ideally with a description what your patch does and why it's important. + +==== Modifications ==== + +You can also upload the patch, for example to a bugtracker. == Lone Developer ==