darcs

Issue 1682 Formatting patches to submit

Title Formatting patches to submit
Priority feature Status needs-implementation
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, jch, kowey, mornfall
Assigned To
Topics Git

Created on 2009-11-12.00:38:09 by jch, last changed 2009-12-09.15:27:07 by kowey.

Messages
msg9239 (view) Author: jch Date: 2009-11-12.00:38:07
A feature that I rather like in Git -- the ability to automatically format and
optionally send patches in traditional diff format.  I'd like to request a feature

  darcs send --diff
  darcs send --mbox

darcs send --diff creates a single diff -u format patch, which it either sends
over e-mail or stores in a file; if given multiple darcs patches, it should
coalesce them (i.e. create a single patch that has the effect of all the patches
appended).  darcs send --mbox either sends a series of patches over e-mail, or
creates a mbox file with all the patches, one per message.

The encoding of file moves in diff --git format would be a welcome addition, but
this feature is useful even without it.

An example of the format can be found on

 
http://trac.transmissionbt.com/raw-attachment/ticket/2573/0001-Don-t-send-PORT-messages-over-IPv6.patch

--Juliusz
msg9263 (view) Author: mornfall Date: 2009-11-14.13:21:11
I have a script somewhere to do (almost) this. It's not on this machine, but
I'll try to recover it from my old laptop when I get home.
msg9574 (view) Author: kowey Date: 2009-12-09.15:27:01
I suppose this could be useful for projects that aren't actually officially
using Darcs.

Note that this is exactly the sort of thing that will be run through our new
Grumpy Old Man process for resisting feature creep (which is still being tuned).
History
Date User Action Args
2009-11-12 00:38:09jchcreate
2009-11-12 00:40:53jchsetpriority: feature
2009-11-14 13:21:13mornfallsetnosy: + mornfall
messages: + msg9263
2009-12-09 15:27:07koweysetstatus: unknown -> needs-implementation
nosy: + kowey
topic: + Git
messages: + msg9574