darcs

Patch 1422 make commit an alias for record

Title make commit an alias for record
Superseder Nosy List gh
Related Issues
Status accepted Assigned To
Milestone 2.10.3

Created on 2016-01-14.14:00:49 by gh, last changed 2016-01-15.11:13:52 by gh.

Files
File name Status Uploaded Type Edit Remove
make-commit-an-alias-for-record.dpatch gh, 2016-01-14.14:00:49 application/x-darcs-patch
patch-preview.txt gh, 2016-01-14.14:00:49 text/x-darcs-patch
unnamed gh, 2016-01-14.14:00:49 text/plain
See mailing list archives for discussion on individual patches.
Messages
msg18908 (view) Author: gh Date: 2016-01-14.14:00:49
This patch makes "darcs commit" an alias for "darcs record".

`darcs commit` currently says:

    $ darcs commit 
    This command does not do anything.
    If you want to save changes locally, use the `darcs record` command.
    If you want to save a recorded patch to another repository, use the
    `darcs push` or `darcs send` commands instead.

This non-command was introduced in 2007 by the patch:

      Sun Jul 22 02:30:50 ART 2007  Eric Kow <eric.kow@loria.fr>
      * Add a 'commit' command stub.

This probably made sense in 2007,  but I no longer think we should explain
to the users that the concept of "committing" does not apply to Darcs as it
does to CVS/SVN. Nowadays all of git, mercurial, bazaar, fossil, veracity...
 use the "commit" command in a way that is similar to darcs' "record".

1 patch for repository http://darcs.net:

patch 1b01e481f1fc803642abb65919d976e0dec55e86
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date:   Thu Jan 14 11:01:15 ART 2016
  * make commit an alias for record
Attachments
msg18909 (view) Author: ganesh Date: 2016-01-14.14:24:26
+1
msg18912 (view) Author: gh Date: 2016-01-15.11:13:49
accepted, also in 2.10 (Florent and Ganesh agree)
History
Date User Action Args
2016-01-14 14:00:49ghcreate
2016-01-14 14:24:26ganeshsetmessages: + msg18909
2016-01-15 11:13:49ghsetmessages: + msg18912
milestone: 2.10.3
2016-01-15 11:13:52ghsetstatus: needs-screening -> accepted