changeset evolution: lost amend

anatoly techtonik techtonik at gmail.com
Sat Jul 5 14:59:57 UTC 2014


Ok. Seems like again a problem of lost username.
Should `hg commit --amend` check that username is set?

On Sat, Jul 5, 2014 at 5:52 PM, anatoly techtonik <techtonik at gmail.com> wrote:
> Hi,
>
> I again shot myself in the foot with changeset evolution:
>
>   > hg ci
>   > hg amend -e
>   > hg glog  # amendment didn't record anything
>   > hg out
>   > hg amend -e
>   warning: ignoring unknown working parent 65a3d892ee2f!
>   abort: cannot amend public changesets
>
> Two questions.
> 1. If amend was not recorded, then why it suddenly broke
>     when executed 2nd time?
> 2. There no trace of new commit, but I've found my message
>     in .hg/last-message.txt
> --
> anatoly t.



-- 
anatoly t.



More information about the Mercurial mailing list