[PATCH 2 of 2] subrepo: hg pushes into local subrepos, after with source

Matt Harbison matt_harbison at yahoo.com
Thu Sep 12 22:55:01 UTC 2024


> On Sep 12, 2024, at 5:46 PM, alexraynepe196 at gmail.com wrote:
> 
> # HG changeset patch
> # User alexrayne
> # Date 1726176902 -10800
> #      Fri Sep 13 00:35:02 2024 +0300
> # Node ID fca662b31c85f27ecc0221c64666cafd9a9bbb97
> # Parent  a000ac71e41a56e3b1c7697f44e34683d0fd47bd
> subrepo: hg pushes into local subrepos, after with source.
>        when --force claimed, subrepo push into local besides source

Can you write some *.t test to show the problem before making changes?  Then the test will change with the commit, and prevent future regressions.  I’m not sure what you’re trying to fix here.

Additionally, you should run the test-check-*.t and test-*subrepo*.t tests locally.  I can tell this commit message would be flagged for not following the usual format.  Also, an existing subrepo test might change with your change, and then you might not need to write your own test.

Thanks!


More information about the Mercurial-devel mailing list