[darcs-users] darcs patch: give last chance to quit if used did not edit description for send or record

Eric Kow kowey at darcs.net
Thu Apr 23 10:15:53 UTC 2009


> This is for all files edited with edit_file. At the moment it is used
> for send and record descriptions.

...

> Descriptions should not be very big. So I do not think reading file
> content would harm performance or memory usage significantly.
> 
> Use case: I do darcs send --edit-description. While editing the
> description I recall that I forgot something (this happens quite often
> to me). I type :q! in vim to exit without saving and answer 'n' to
> abort.

Thanks!  I'm going to apply this and see if anybody from darcs-users
complains.
 
> IIRC there was a bug requesting this feature. But I could not find it.
> Or was it a mail on ML?

Is this the discussion you were thinking of?
  http://lists.osuosl.org/pipermail/darcs-users/2008-November/015848.html

Maybe we need to revisit the confirmations there?

Cheers,

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090423/9592a003/attachment.pgp>


More information about the darcs-users mailing list