<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 5, 2019 at 12:47 PM Denis Laxalde <<a href="mailto:denis@laxalde.org">denis@laxalde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"># HG changeset patch<br>
# User Denis Laxalde <<a href="mailto:denis.laxalde@logilab.fr" target="_blank">denis.laxalde@logilab.fr</a>><br>
# Date 1554370518 -7200<br>
#      Thu Apr 04 11:35:18 2019 +0200<br>
# Node ID 74a00c7446609592ccb6a3dc5ac98769ac36bfe8<br>
# Parent  4ee906aa7b60fb6b113e4dc187fbb5a8f42e557c<br>
interactive: do not prompt about files given in command line<br>
<br>
For commit and revert commands with --interactive and explicit files<br>
given in the command line, we now skip the invite to "examine changes to<br>
<file> ? [Ynesfdaq?]". The reason for this is that, if <file> is<br>
specified by the user, asking for confirmation is redundant.<br>
<br>
In patch.filterpatch(), we now use an optional "match" argument to<br>
conditionally call the prompt() function when entering a new "header"<br>
item. We use .exact() method to compare with files from the "header" in<br>
order to only consider (rel)path patterns.<br>
<br>
Add tests with glob patterns for commit and revert, to make sure we<br>
still ask to examine files in these cases.<br></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Queued, many many thanks! I recently had an user complaining about this on twitter. </div></div></div>