sapling/hgext3rd/fbamend
Thomas Jacob 35c42f65ae fbamend: allow general rev for --to, fix aborts
Summary:
Didn't work when --to wasn't specified as a 12 char
short hash, and since no errors were raised
due to the missing "raise" before error.abort
also effectively deleted changes in the working copy.

Now should work with anything repo[input] accepts
as a valid commit.

Also checks for predicatable error conditions before
the repo is modified to avoid changing working copy
on error.

Test Plan: TBD

Reviewers: #sourcecontrol

Subscribers: #sourcecontrol

Differential Revision: https://phabricator.intern.facebook.com/D6379590

Tasks: T22281996
2017-11-25 09:19:09 -08:00
..
__init__.py fbamend: allow general rev for --to, fix aborts 2017-11-25 09:19:09 -08:00
common.py fbamend: allprecursors -> allpredecessors 2017-08-18 03:11:29 -07:00
fold.py fold: add support to get json output for node changes 2017-10-31 13:22:06 -07:00
hiddenoverride.py hiddenoverride: work with scmutils.cleanupnodes 2017-11-01 11:49:13 -07:00
hide.py fbamend: add unhide command for easy unhiding of commits 2017-07-27 03:39:01 -07:00
metaedit.py metaedit: make it compatible with histedit 2017-09-21 05:33:54 -07:00
movement.py fbamend: add --clean flag to hg prev/next 2017-07-18 20:13:25 -07:00
prune.py tweakdefaults: provide advice abouthg uncommit 2017-11-08 07:57:03 -08:00
restack.py restack: use multidest rebase to implement restack 2017-11-02 11:54:31 -07:00
revsets.py restack: use multidest rebase to implement restack 2017-11-02 11:54:31 -07:00
split.py split: only do checkunfinished if rebase is needed 2017-08-23 08:47:31 -07:00
unamend.py fbamend: precursor -> predecessor 2017-08-18 03:11:29 -07:00