victor-torres / atom-hg

Mercurial support for Atom text editor. Works on Linux, Mac OS X and Windows.
https://atom.io/packages/atom-hg
MIT License
27 stars 5 forks source link

Allow "diffing" against specific revision or bookmark #39

Closed Goodwine closed 7 years ago

Goodwine commented 8 years ago

In my particular use-case, it's more helpful if I can specify a bookmark (sometimes a revision) to diff against. Maybe we could have this as a setting?

Why bookmarks? I update a bookmark automatically every time I pull, so I can end up with last_pulled -> commit-1 -> commit-2, where diffing against last_pulled is more important to me than diffing commit-2 against commit-1.

Why revision Alternatively I would be ok with diffing against "2 revisions ago" or i.e. -r .^^
This use-case is not that important to me though since bookmark work great me.