From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs 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 Message-ID: <87a66od3rr.fsf@gnus.org> References: <87wnl4wryu.fsf@gnus.org> <87pmfkykqw.fsf@gnus.org> <86h70w8y12.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3365"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 51964@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 24 20:32:09 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oc9we-0000hB-Nn for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Sep 2022 20:32:08 +0200 Original-Received: from localhost ([::1]:36348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc9wd-000663-9U for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Sep 2022 14:32:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc9va-00065r-LG for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 14:31:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46186) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc9va-0003IQ-DA for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 14:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oc9va-0002en-87 for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2022 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51964 X-GNU-PR-Package: emacs Original-Received: via spool by 51964-submit@debbugs.gnu.org id=B51964.166404421710137 (code B ref 51964); Sat, 24 Sep 2022 18:31:02 +0000 Original-Received: (at 51964) by debbugs.gnu.org; 24 Sep 2022 18:30:17 +0000 Original-Received: from localhost ([127.0.0.1]:45262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc9ur-0002dR-Fr for submit@debbugs.gnu.org; Sat, 24 Sep 2022 14:30:17 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:50864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc9un-0002d7-Bz for 51964@debbugs.gnu.org; Sat, 24 Sep 2022 14:30:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xra69L5ZqH3vSKifddGzezUKJSecEyVAD/bjqUPpLKc=; b=d3I6mBeN9bsyPlLerNyDJMNhBY 5ETfClA7Ao+dTsqf8N6D2Di8UXVCIkYbMAelioNni120sCHTGFq9PKMycBOsIC170Q3/2RsKv3aLh Ixeu2ibug6O9iI2l1yGLSIRCZddxk1TcBNoaAxtAivUwn6oEYddDq+5FaPCyKQ9wxc3U=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oc9ue-00064r-Fl; Sat, 24 Sep 2022 20:30:06 +0200 In-Reply-To: <86h70w8y12.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 24 Sep 2022 20:36:37 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXJyMayr7OWlKBX V2P28xr///9HRQ2EAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YJGBIaKXlJWpcAAAG0SURBVDjLrZPr deQwCIWFtwHADRipgYzoYE/6r2kvV35McpJ/y5mxZX1CvFu7RMXMVM+vrb2JgJrhKVbrc88oahJc eN1B5H12SuI/C0isS2szYsFOUCqqVhRXrCvdsYsteCMqTeyUEKfReqjIZR+u2dZON8q9S0HpFZey vt6EQCsi+w5g25AOpdqjWBpCh+Xe1cqDNw/4yR9UgmoVz51E7AB5WHgxebIrfuCh1geve0v7HqUX e97ZvVSYLSGAPj/krVp7hsDJpx4MHu/McD+vKtfX22A7P+qUPxYq9CZb5utLH+hKraK0syokzRY5 Tq25ZyrbZx3c4mynHJnHA2yfKvQgIVPuQtmKl2HMnMjyfmugA2ox8gBoMp6Oseoqz/zY42iSdCWu giK8MbeM9ie/1Xpkz8gJmzeIar8OlyrEGASXEQ+HQskFgl1A7gR9zGZ3w+JAh3WCPphitADOR8cb YNSgDLaBEZh3wJzj5QSqZyRRg2P5Gq/uAOw7GudIGXKFeQKgM6UgNWHlVa+ACtTi0uBwcvVMMpLo lcX+qnT66o2ouULgYGNN7d4+f5a/v4HP/wj+AQY+Z1k/V1ZPAAAAJXRFWHRkYXRlOmNyZWF0ZQAy MDIyLTA5LTI0VDE4OjI2OjQxKzAwOjAwTMEQPAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOS0y NFQxODoyNjo0MSswMDowMD2cqIAAAAAASUVORK5CYII= X-Now-Playing: DJ Rupture's _Curiosity Slowdown_: "Curiosity Slowdown (part 3)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243554 Archived-At: Juri Linkov 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.