I would like to abandon all changes in my bookmark and delete the bookmark itself.
I tried the instructions under: Mercurial - How to discard all local changes including to unversioned files?
i.e hg --revert .
In addition, I looked at Bookmarks where it says that the delete feature still leaves changed files. How do I go to a state where I can start afresh from the contents of the remote repository?
Asked
Active
Viewed 494 times
1

Vadim Kotov
- 8,084
- 8
- 48
- 62

Pritish Kakodkar
- 307
- 1
- 4
- 12
1 Answers
2
A bookmark is separate from the changes in the changeset. You can modify or delete the bookmark, and it keeps the changeset untouched. A physical bookmark is a good analogy: you can move it from page to page or remove it completely without altering the book contents - it's just a pointer to a page.
If you have committed the changes already into a changeset, you want to either back them out or strip them.
If you just want to start from the remote, delete your repository and re-clone it.

Vadim Kotov
- 8,084
- 8
- 48
- 62

codekaizen
- 26,990
- 7
- 84
- 140