git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 08/10] remote-hg: update bookmarks when pulling

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
May 14, 2013, 23:11 UTC
Message-ID
<CAMP44s32KkJY3OxifDEmqp0ZkhQiRQCVwxYvSNGgqTnwC3DLEw@mail.gmail.com>
In-Reply-To
<7v38tpfa7u.fsf@alter.siamese.dyndns.org>
On Tue, May 14, 2013 at 5:49 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Felipe Contreras <felipe.contreras@gmail.com> writes:
>
>> The reason for the "only regression" period is to avoid more
>> regressions. If you show me how any of the fixes I sent in this series
>> could potentially cause a regression,
>
> I already said that "You can see these patches are so trivially
> correct" is not a valid argument.
You can say so, it doesn't make it so.
> The original patches would also
> have been looked correct when they were sent to the list.

No, they didn't look correct, and I made it clear when I sent the patches to be *tested*.

> Things
> take time and actual use by the users to mature.
Some things, not all things. That's a hasty generalization fallacy.
Show 11 quoted lines
>>> You cannot be both.  Which is it?
>>
>> I marked the patch that fix a regression as such, I marked the patches
>> that are obvious fixes with no possibility of regressions as such, and
>> I marked the trivial cleanups with no possibility of regressions as
>> such.
>
> I think you mean 6/10 by "the patch that fix a regression", but if
> that is the case, please send only the regression fix that cleanly
> apply to the tip of 'master', without any other dependencies, with a
> proper description of what breaks and how it fixes.
I did that for v2, but you didn't merge that.
Show 6 quoted lines
> We know you can do better than "certain" and "might".
>
>> In certain situations we might end up pushing garbage revisions (e.g. in
>> a rebase), and the patches to deal with that haven't been merged yet.
>>
>> So let's disable forced pushes by default.

I have done more than enough. I'm not going to write tests for this, and I'm not going to find out for sure. There is a *potential* that there's a regression, and that's reason enough to apply this patch as it is.

I have done way more than my fair share already. I'm 98% certain that this patch series as it is would not introduce a regression for v1.8.3, and that's good enough for me. If anybody has any problem with that, they can pick this series and do whatever they want with them.

If I'm supposed to be the owner of contrib/remote-helpers, it certainly doesn't feel that way. If I am the owner, but you are worried, why don't you let me make the decision, and if something blows in v1.8.3, you can tell me; "see? you are not ready to have the full maintainership of this". After all, this is in the contrib area, so if there's a time for a possible future maintainer of a core part of git to make mistakes, it would be now. But of course, this would *not* happen, because the patches are obviously correct and I stand by that claim.

As things currently stand, v1.8.3 *might* introduce a regression.
-- 
Felipe Contreras
Previous: Junio C HamanoNext: Junio C Hamano
Message 25 of 41 in “remote-hg: fixes and cleanups”
  1. 00/10 remote-hg: fixes and cleanupsFelipe Contreras, May 13, 2013
  2. 01/10 remote-hg: trivial cleanupsFelipe Contreras, May 13, 2013
  3. Felipe ContrerasMay 14, 2013
  4. 02/10 remote-hg: get rid of unused exception checksFelipe Contreras, May 13, 2013
  5. Felipe ContrerasMay 14, 2013
  6. 03/10 remote-hg: enable track-branches in hg-git modeFelipe Contreras, May 13, 2013
  7. Felipe ContrerasMay 14, 2013
  8. 04/10 remote-hg: add new get_config_bool() helperFelipe Contreras, May 13, 2013
  9. Felipe ContrerasMay 14, 2013
  10. 05/10 remote-hg: fix new branch creationFelipe Contreras, May 13, 2013
  11. Felipe ContrerasMay 14, 2013
  12. Junio C HamanoMay 15, 2013
  13. Felipe ContrerasMay 15, 2013
  14. 06/10 remote-hg: disable forced push by defaultFelipe Contreras, May 13, 2013
  15. Felipe ContrerasMay 14, 2013
  16. 07/10 remote-hg: don't push fake 'master' bookmarkFelipe Contreras, May 13, 2013
  17. Felipe ContrerasMay 14, 2013
  18. 08/10 remote-hg: update bookmarks when pullingFelipe Contreras, May 13, 2013
  19. Felipe ContrerasMay 14, 2013
  20. Junio C HamanoMay 14, 2013
  21. Felipe ContrerasMay 14, 2013
  22. Junio C HamanoMay 14, 2013
  23. Felipe ContrerasMay 14, 2013
  24. Junio C HamanoMay 14, 2013
  25. Felipe ContrerasMay 14, 2013
  26. Junio C HamanoMay 14, 2013
  27. Felipe ContrerasMay 14, 2013
  28. 09/10 remote-hg: test: be a little more quietFelipe Contreras, May 13, 2013
  29. Felipe ContrerasMay 14, 2013
  30. Junio C HamanoMay 14, 2013
  31. Felipe ContrerasMay 14, 2013
  32. 10/10 remote-hg: trivial reorganizationFelipe Contreras, May 13, 2013
  33. Felipe ContrerasMay 14, 2013
  34. Junio C HamanoMay 14, 2013
  35. Felipe ContrerasMay 14, 2013
  36. Junio C HamanoMay 14, 2013
  37. Junio C HamanoMay 14, 2013
  38. Felipe ContrerasMay 14, 2013
  39. Felipe ContrerasMay 14, 2013
  40. Junio C HamanoMay 14, 2013
  41. Felipe ContrerasMay 14, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.