Commit Graph

4 Commits

Author SHA1 Message Date
Igor Pozgaj
0b3afb8ca4 Add entry for git blame
Summary: hg githelp blame didn't work

Test Plan: not sure how to test this

Reviewers: pyd, davidsp, durham

Reviewed By: durham

Subscribers: sameen

Differential Revision: https://phabricator.fb.com/D1411080
2014-06-30 11:17:41 -07:00
Pierre-Yves David
fbd8c16dac githelp: properly abort on unknown command
Summary: We previously aborted with a KeyError traceback.

Test Plan: Run that thing with an unknown command, got a clear abort

Reviewers: durham

Differential Revision: https://phabricator.fb.com/D1299542
2014-04-28 12:51:23 -07:00
Durham Goode
c030cd9d54 Fix hg githelp without args 2014-03-10 16:02:24 -07:00
Durham Goode
9d03f3b36c Add 'hg githelp' command
Summary:
Adds an 'hg githelp' command that translates git commands into Mercurial
commands.

Test Plan:
$ hg githelp -- rebase origin/master
hg rebase -d master

$ hg githelp -- checkout -B foo
hg bookmark foo

$ hg git -- checkout -B foo master
hg update master && hg bookmark foo

$ hg git -- reset --soft HEAD^
note: hg strip -k will delete the commit, but keep the changes in your working copy.

hg strip -k -r .

Reviewers: mpm, dschleimer, sid0, pyd, davidsp

CC: akushner

Differential Revision: https://phabricator.fb.com/D1184289
2014-02-20 20:54:17 -08:00