darcs

Patch 1071 resolve issue2319: make changes non-inte... (and 1 more)

Title resolve issue2319: make changes non-inte... (and 1 more)
Superseder Nosy List gh
Related Issues
Status accepted Assigned To
Milestone

Created on 2013-05-09.01:19:37 by gh, last changed 2013-12-02.20:11:27 by gh.

Files
File name Status Uploaded Type Edit Remove
make-changes-non_interactive-by-default-again.dpatch gh, 2013-11-20.00:39:38 application/x-darcs-patch
make-changes-non_interactive-when-given-flags-__count-or-__xml_output-.dpatch gh, 2013-06-15.00:00:23 application/x-darcs-patch
patch-preview.txt gh, 2013-05-09.01:19:36 text/x-darcs-patch
patch-preview.txt gh, 2013-06-15.00:00:23 text/x-darcs-patch
patch-preview.txt gh, 2013-11-20.00:39:38 text/x-darcs-patch
resolve-issue2319_-make-changes-non_interactive-if-fed-to-a-pipe.dpatch gh, 2013-05-09.01:19:36 application/x-darcs-patch
unnamed gh, 2013-05-09.01:19:36
unnamed gh, 2013-06-15.00:00:23
unnamed gh, 2013-11-20.00:39:38
See mailing list archives for discussion on individual patches.
Messages
msg16797 (view) Author: gh Date: 2013-05-09.01:19:36
This at least fixes the "recent changes" page in gitit on my machine.

Note that the patch makes things like
    echo yy | darcs changes -i > out
impossible since as soon as the output is piped, changes is non-interactive.

2 patches for repository http://darcs.net:

Wed May  8 20:50:18 ART 2013  Guillaume Hoffmann <guillaumh@gmail.com>
  * resolve issue2319: make changes non-interactive if fed to a pipe

Wed May  8 21:57:53 ART 2013  Guillaume Hoffmann <guillaumh@gmail.com>
  * fix issue2270 test since piped darcs changes is now never interactive
Attachments
msg16798 (view) Author: ganesh Date: 2013-05-09.05:58:20
Is it easy (with the current flag handling structure) to always respect 
explicit flags? i.e. only the default behaviour would change depending on 
whether the output is a pipe
msg16799 (view) Author: gh Date: 2013-05-09.16:12:24
I think it's possible, but do we if someone scripts darcs like this?
Shall we wait for reactions?
msg16852 (view) Author: gh Date: 2013-06-15.00:00:23
A small fixup.

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

Fri Jun 14 20:57:31 ART 2013  "Guillaume Hoffmann" <guillaumh@gmail.com>
  * make changes non-interactive when given flags --count or --xml-output
Attachments
msg17082 (view) Author: gh Date: 2013-11-20.00:39:38
See <http://lists.osuosl.org/pipermail/darcs-users/2013-November/026966.html>
and the messages before it for the reasons behind this bundle.

3 patches for repository http://darcs.net:

Tue Nov 19 18:29:49 ART 2013  Guillaume Hoffmann <guillaumh@gmail.com>
  * Make changes non-interactive by default again

Tue Nov 19 19:32:27 ART 2013  Guillaume Hoffmann <guillaumh@gmail.com>
  * output darcs changes to a pager if more than 20 lines big

Tue Nov 19 20:24:32 ART 2013  Guillaume Hoffmann <guillaumh@gmail.com>
  * rename changes command to log, keep changes as alias
Attachments
msg17090 (view) Author: gh Date: 2013-11-24.18:09:51
Patches are now in the screened branch!
msg17100 (view) Author: gh Date: 2013-12-02.20:11:27
Self-accepting.

Note that issue896 is still open.
History
Date User Action Args
2013-05-09 01:19:37ghcreate
2013-05-09 01:20:49ghsetstatus: needs-screening -> needs-review
2013-05-09 05:58:20ganeshsetmessages: + msg16798
2013-05-09 16:12:24ghsetmessages: + msg16799
2013-06-15 00:00:23ghsetfiles: + patch-preview.txt, make-changes-non_interactive-when-given-flags-__count-or-__xml_output-.dpatch, unnamed
messages: + msg16852
2013-11-20 00:39:38ghsetfiles: + patch-preview.txt, make-changes-non_interactive-by-default-again.dpatch, unnamed
messages: + msg17082
2013-11-24 18:09:51ghsetmessages: + msg17090
2013-12-02 20:11:27ghsetstatus: needs-review -> accepted
messages: + msg17100