Petr
Petr

Reputation: 63359

How to use `hg amend` with HgGit to avoid `unknown revision` errors

Whenever I use hg amend or other commands that change history (for example hg rebase -s ... -d ...), certain commands, including hg push start to fail with abort: unknown revision error:

$ hg push -B my-branch
pushing to git+ssh://[email protected]:...
searching for changes
abort: unknown revision 'xxxxx'!

Upvotes: 5

Views: 122

Answers (0)

Related Questions