[darcs-users] correcting typos with amend-record

Michael Hendricks michael at ndrix.org
Fri Mar 30 22:34:39 UTC 2012


Imagine that I have patches A and B.  B depends on A.  I discover that A's
patch name and long comment have a major typo.  Unfortunately, "darcs
amend-record --edit-long-comment -p A" won't work.  B's dependency prevents
A from being commuted to the front even though changing A's metadata won't
affect B at all.

I want an option letting me change A's metadata regardless of the
dependencies.  Would such an option be useful to others?  What should it be
called?

  darcs amend-record --none --edit-long-comment
  darcs amend-record --metadata-only --edit-long-comment

I'm partial to --none since it's the opposite of --all.

Ideally, amend-record would prompt for changes before prompting for which
patch to amend.  That way, if the user selects no changes Darcs can skip
dependency analysis when presenting patches.  Would changing the prompt
order harm your favorite use cases?

-- 
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20120330/062659a6/attachment.html>


More information about the darcs-users mailing list