On Wed, Jan 06, 2010 at 07:34:27PM +1100, Trent W. Buck wrote:
>      mg (20090107-4) UNRELEASED; urgency=low
>      .
>        * Adopt override_dh_foo style in rules.
>          This also fixes debuild -j8.
> 
>     $ debcommit
>     darcs record '--repodir=debian' -m 'Adopt override_dh_foo style in rules.
>     This also fixes debuild -j8.' -a
>     darcs: Patch names cannot contain newlines.
>     debcommit: commit failed
> 
> In this case, I was testing whether it would correctly set the patch
> name (-m) to the first line, and the patch long description to the
> second line.  However the commit message could equally be a really
> long, and hard-wrapped, in debian/changelog -- I see no way for
> debcommit to tell the difference.

Sounds like we should be doing something like we do for git & hg.  If
the commit message is longer than 1 line, show the text to the user and
let them munge it accordingly.  Then we can use --logfile to feed the
message to darcs so it properly handles the patch name (first line) and
long description (subsequent lines).

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

Attachment: signature.asc
Description: Digital signature

Reply via email to