[PATCH 1 of 2] amend: add noise in extra to avoid creating obsolescence cycle (issue3664)

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Oct 18 14:09:43 CDT 2012


On 18 oct. 2012, at 20:45, Idan Kamara wrote:

> On Thu, Oct 18, 2012 at 7:34 PM, Pierre-Yves David <pierre-yves.david at ens-lyon.org> wrote:
> >
> > # HG changeset patch
> > # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> > # Date 1350581428 -7200
> > # Node ID 455dbbdf1df8694254850cf9c96827f8b3ff2f61
> > # Parent  a1c4b21fc1b206f5cf386a8d9d5b5882aaa6807f
> > amend: add noise in extra to avoid creating obsolescence cycle (issue3664)
> 
> ..
> 
> > @@ -139,8 +139,18 @@
> >    > echo "another precious commit message" > "$1"
> >    > __EOF__
> >    $ HGEDITOR="\"sh\" \"`pwd`/editor.sh\"" hg commit --amend -v
> > -  amending changeset 2c94e4a5756f
> > -  copying changeset 2c94e4a5756f to ad120869acf0
> > +  amending changeset 5f357c7560ab
> > +  copying changeset 5f357c7560ab to ad120869acf0
> > +  nothing changed
> > +  [1]
> 
> What's happening here? Why did the test change apart from
> the hash changing?


grmlm another bug with editor handling. this diff is hard to review. Thanks to spotting that. V3 coming and closely checked with multi pannel diff.

-- 
Pierre-Yves


More information about the Mercurial-devel mailing list