unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrii Kolomoiets <andreyk.mad@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 38156@debbugs.gnu.org
Subject: bug#38156: 27.0.50; [PATCH] VC: ability to skip update buffers prompt
Date: Thu, 14 Nov 2019 11:54:07 +0200	[thread overview]
Message-ID: <FA84A362-BBDF-4E37-8F24-310B200A81FD@gmail.com> (raw)
In-Reply-To: <878sojq9w1.fsf@gnus.org>

Hi Lars,

> On 14 Nov 2019, at 07:55, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 
> Andrii Kolomoiets <andreyk.mad@gmail.com> writes:
> 
>> The `update' argument of `vc-retrieve-tag' is ignored by git, hg and svn
>> vc backends so the answer for "Update any affected buffers?" prompt
>> doesn't matter.  This prompt can be omitted.
> 
> Would it be possible to make those backends respect the UPDATE argument
> instead?  I had a quick peek at vc-cvs-retrieve-tag (which does respect
> the argument), and it looks a bit painful, and I'm not sure whether it
> looks that useful.

vc-retrieve-tag is already updating buffers by calling
(vc-resynch-buffer dir t t t)

Maybe this commits are related:
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=5828f6cacc5
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=5f4f2ae4f96

IMO there are nothing more those backends can do with buffers so
`update` argument is mean nothing to them.

Don't know about cvs backend though.





  parent reply	other threads:[~2019-11-14  9:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-09 20:29 bug#38156: 27.0.50; [PATCH] VC: ability to skip update buffers prompt Andrii Kolomoiets
2019-11-14  5:55 ` Lars Ingebrigtsen
2019-11-14  7:13   ` Andrii Kolomoiets
2019-11-14  7:18     ` Lars Ingebrigtsen
2019-11-14  9:54   ` Andrii Kolomoiets [this message]
2019-11-16  7:13     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FA84A362-BBDF-4E37-8F24-310B200A81FD@gmail.com \
    --to=andreyk.mad@gmail.com \
    --cc=38156@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).