GNU bug report logs - #38425
27.0.50; [PATCH] vc-hg-create-tag: Possibility to create a branch

Previous Next

Package: emacs;

Reported by: Andrii Kolomoiets <andreyk.mad <at> gmail.com>

Date: Fri, 29 Nov 2019 15:04:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 27.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38425 in the body.
You can then email your comments to 38425 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#38425; Package emacs. (Fri, 29 Nov 2019 15:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrii Kolomoiets <andreyk.mad <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 29 Nov 2019 15:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; [PATCH] vc-hg-create-tag: Possibility to create a branch
Date: Fri, 29 Nov 2019 17:03:33 +0200
[Message part 1 (text/plain, inline)]
Hello.

Mercurial supports two kind of branches: named branch and bookmark.

vc-hg-create-tag can create only a bookmark (Bug#17586).

This patch adds possibility to create a named branch.

[0001-vc-hg-create-tag-Possibility-to-create-a-branch.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38425; Package emacs. (Fri, 29 Nov 2019 15:15:02 GMT) Full text and rfc822 format available.

Message #8 received at 38425 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Andrii Kolomoiets <andreyk.mad <at> gmail.com>, 38425 <at> debbugs.gnu.org
Subject: Re: bug#38425: 27.0.50; [PATCH] vc-hg-create-tag: Possibility to
 create a branch
Date: Fri, 29 Nov 2019 17:14:16 +0200
On 29.11.2019 17:03, Andrii Kolomoiets wrote:
> +*** New user option 'vc-hg-create-bookmark' controls whether a bookmark
> +or branch will be created when you invoke 'C-u C-x v s' ('vc-create-tag')

Do some Mercurial users or projects predominantly work with branches, 
while others - with bookmarks?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38425; Package emacs. (Fri, 29 Nov 2019 18:31:02 GMT) Full text and rfc822 format available.

Message #11 received at 38425 <at> debbugs.gnu.org (full text, mbox):

From: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 38425 <at> debbugs.gnu.org
Subject: Re: bug#38425: 27.0.50; [PATCH] vc-hg-create-tag: Possibility to
 create a branch
Date: Fri, 29 Nov 2019 20:30:44 +0200
On 29 Nov 2019, at 17:14, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
> 
> On 29.11.2019 17:03, Andrii Kolomoiets wrote:
>> +*** New user option 'vc-hg-create-bookmark' controls whether a bookmark
>> +or branch will be created when you invoke 'C-u C-x v s' ('vc-create-tag')
> 
> Do some Mercurial users or projects predominantly work with branches, while others - with bookmarks?

I think so. They even can be used together in one repository.



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38425; Package emacs. (Fri, 29 Nov 2019 22:23:01 GMT) Full text and rfc822 format available.

Message #14 received at 38425 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
Cc: 38425 <at> debbugs.gnu.org
Subject: Re: bug#38425: 27.0.50; [PATCH] vc-hg-create-tag: Possibility to
 create a branch
Date: Sat, 30 Nov 2019 00:21:59 +0200
On 29.11.2019 20:30, Andrii Kolomoiets wrote:
> On 29 Nov 2019, at 17:14, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
>>
>> On 29.11.2019 17:03, Andrii Kolomoiets wrote:
>>> +*** New user option 'vc-hg-create-bookmark' controls whether a bookmark
>>> +or branch will be created when you invoke 'C-u C-x v s' ('vc-create-tag')
>>
>> Do some Mercurial users or projects predominantly work with branches, while others - with bookmarks?
> 
> I think so. They even can be used together in one repository.

That "even" is why I'm asking. If, on average, the user has to deal with 
both then the new option won't help. vc-hg might as well only one or the 
other in vc-create-tag, leaving the alternative to the command line.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38425; Package emacs. (Fri, 29 Nov 2019 23:02:01 GMT) Full text and rfc822 format available.

Message #17 received at 38425 <at> debbugs.gnu.org (full text, mbox):

From: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 38425 <at> debbugs.gnu.org
Subject: Re: bug#38425: 27.0.50; [PATCH] vc-hg-create-tag: Possibility to
 create a branch
Date: Sat, 30 Nov 2019 01:01:30 +0200
On 30 Nov 2019, at 00:21, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
> 
> On 29.11.2019 20:30, Andrii Kolomoiets wrote:
>> On 29 Nov 2019, at 17:14, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
>>> 
>>> On 29.11.2019 17:03, Andrii Kolomoiets wrote:
>>>> +*** New user option 'vc-hg-create-bookmark' controls whether a bookmark
>>>> +or branch will be created when you invoke 'C-u C-x v s' ('vc-create-tag')
>>> 
>>> Do some Mercurial users or projects predominantly work with branches, while others - with bookmarks?
>> I think so. They even can be used together in one repository.
> 
> That "even" is why I'm asking. If, on average, the user has to deal with both then the new option won't help. vc-hg might as well only one or the other in vc-create-tag, leaving the alternative to the command line.

Why not? I've added option 'ask' so user can create branch or bookmark. Default value t is set for backward capability.



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38425; Package emacs. (Fri, 29 Nov 2019 23:05:02 GMT) Full text and rfc822 format available.

Message #20 received at 38425 <at> debbugs.gnu.org (full text, mbox):

From: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 38425 <at> debbugs.gnu.org
Subject: Re: bug#38425: 27.0.50; [PATCH] vc-hg-create-tag: Possibility to
 create a branch
Date: Sat, 30 Nov 2019 01:03:57 +0200
On 30 Nov 2019, at 01:01, Andrii Kolomoiets <andreyk.mad <at> gmail.com> wrote:
> 
> On 30 Nov 2019, at 00:21, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
>> 
>> On 29.11.2019 20:30, Andrii Kolomoiets wrote:
>>> On 29 Nov 2019, at 17:14, Dmitry Gutov <dgutov <at> yandex.ru> wrote:
>>>> 
>>>> On 29.11.2019 17:03, Andrii Kolomoiets wrote:
>>>>> +*** New user option 'vc-hg-create-bookmark' controls whether a bookmark
>>>>> +or branch will be created when you invoke 'C-u C-x v s' ('vc-create-tag')
>>>> 
>>>> Do some Mercurial users or projects predominantly work with branches, while others - with bookmarks?
>>> I think so. They even can be used together in one repository.
>> 
>> That "even" is why I'm asking. If, on average, the user has to deal with both then the new option won't help. vc-hg might as well only one or the other in vc-create-tag, leaving the alternative to the command line.
> 
> Why not? I've added option 'ask' so user can create branch or bookmark. Default value t is set for backward capability.

Sorry, backward compatibility.



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#38425; Package emacs. (Sun, 09 Aug 2020 12:29:02 GMT) Full text and rfc822 format available.

Message #23 received at 38425 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Andrii Kolomoiets <andreyk.mad <at> gmail.com>
Cc: 38425 <at> debbugs.gnu.org, Dmitry Gutov <dgutov <at> yandex.ru>
Subject: Re: bug#38425: 27.0.50; [PATCH] vc-hg-create-tag: Possibility to
 create a branch
Date: Sun, 09 Aug 2020 14:28:12 +0200
Andrii Kolomoiets <andreyk.mad <at> gmail.com> writes:

>>> That "even" is why I'm asking. If, on average, the user has to deal
>>> with both then the new option won't help. vc-hg might as well only
>>> one or the other in vc-create-tag, leaving the alternative to the
>>> command line.
>> 
>> Why not? I've added option 'ask' so user can create branch or
>> bookmark. Default value t is set for backward capability.
>
> Sorry, backward compatibility.

I think that makes sense, so I've applied your patch to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 09 Aug 2020 12:29:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 38425 <at> debbugs.gnu.org and Andrii Kolomoiets <andreyk.mad <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 09 Aug 2020 12:29:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 07 Sep 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.