unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Juri Linkov <juri@linkov.net>
Cc: 51964@debbugs.gnu.org
Subject: bug#51964: 29.0.50; Wishlist: It'd be nice with a pull+push command in vc-dir
Date: Sat, 24 Sep 2022 20:30:00 +0200	[thread overview]
Message-ID: <87a66od3rr.fsf@gnus.org> (raw)
In-Reply-To: <86h70w8y12.fsf@mail.linkov.net> (Juri Linkov's message of "Sat,  24 Sep 2022 20:36:37 +0300")

Juri Linkov <juri@linkov.net> writes:

> I wonder why this couldn't be implemented by using the existing backend
> functions 'pull' and 'push'?  Then the only thing required for a backend
> to support 'vc-pull-and-push' is just to return a process from the
> backend function 'pull'.  IOW, I don't see a problem of moving
> the logic of vc-git-pull-and-push to vc-pull-and-push.

That may well be possible -- I just don't know whether all the backends
(that have -pull/-push) would be amenable to that.

But I see there's only two of them bzr and hg, and looking at those
briefly, it does indeed look like the implementation could be lifted up
to vc-pull-and-push.





      reply	other threads:[~2022-09-24 18:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19  6:59 bug#51964: 29.0.50; Wishlist: It'd be nice with a pull+push command in vc-dir Lars Ingebrigtsen
2021-11-19  8:28 ` Juri Linkov
2021-11-19  8:42   ` Eli Zaretskii
2021-11-19 10:20   ` Andreas Schwab
2021-11-20  8:30   ` Lars Ingebrigtsen
2022-09-24 13:17 ` Lars Ingebrigtsen
2022-09-24 17:36   ` Juri Linkov
2022-09-24 18:30     ` Lars Ingebrigtsen [this message]

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=87a66od3rr.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=51964@debbugs.gnu.org \
    --cc=juri@linkov.net \
    /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).