martinvonz created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches.
REVISION SUMMARY See the fix in the next patch for explanation. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D12572 AFFECTED FILES tests/test-copies-in-changeset.t CHANGE DETAILS diff --git a/tests/test-copies-in-changeset.t b/tests/test-copies-in-changeset.t --- a/tests/test-copies-in-changeset.t +++ b/tests/test-copies-in-changeset.t @@ -325,6 +325,15 @@ saved backup bundle to $TESTTMP/repo/.hg/strip-backup/*-*-amend.hg (glob) $ hg showcopies a -> l + +No crash on partial amend + $ hg st --change . + A l + $ echo modified >> a + $ hg rm l + $ hg commit --amend a 2>&1 | grep AttributeError + AttributeError: 'NoneType' object has no attribute 'renamed' (known-bad-output !) + $ cd .. Test rebasing a commit with copy information To: martinvonz, #hg-reviewers Cc: mercurial-patches, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel