Submitter | phabricator |
---|---|
Date | April 19, 2022, 4:27 a.m. |
Message ID | <differential-rev-PHID-DREV-3fquvuxsjbz6o6xvyig6-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50920/ |
State | New |
Headers | show |
Comments
Patch
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