Commit Graph

26 Commits

Author SHA1 Message Date
Siddharth Agarwal
58bf1448bf Backed out changeset babc6ba5dd1e 2015-03-06 12:57:08 -08:00
Siddharth Agarwal
65e7df0886 also remove crecord in setup.py 2015-03-06 11:25:18 -08:00
Siddharth Agarwal
914210c6b9 add writecg2 to setup 2015-01-12 11:09:57 -08:00
Durham Goode
94122b20ff Merge with default 2014-12-17 13:41:58 -08:00
Durham Goode
a032665ffb Add upgradegeneraldelta to setup.py 2014-12-17 13:40:52 -08:00
Ryan McElroy
76ff0ca413 Create simple cache for export and log
Test Plan:
 * New test
 * Ran all mercurial tests with this extension enabled. Most tests passed, and the ones that failed were due to additional output thansk to the enabled extension (eg, help screens mentioning the extenstion, and config dumps listing the extension as enabled).

Reviewers: sid0, davidsp, pyd, durham

Reviewed By: durham

Subscribers: ps

Differential Revision: https://phabricator.fb.com/D1691116

Tasks: 5503905

Signature: t1:1691116:1418066154:9d0950b7395038a7fa95b4ec26f9360ea2db9fc6
2014-11-19 10:10:03 -08:00
Durham Goode
bb7082a51d Add phabdiff to setup.py 2014-12-03 09:33:02 -08:00
Durham Goode
380e4156ee Merge with default again 2014-12-02 13:51:29 -08:00
Durham Goode
f26417b0dd Add sparse to setup.py 2014-12-02 13:50:22 -08:00
David Soria Parra
67438e93b4 chistedit: an interactive ncurses interface for histedit
Summary: add the chistedit extension that adds an interactive ncurses based
interface for histedit. It requires python-curses to be installed and the
Mercurial histedit extension to be enabled.

Test Plan: enabled and used it

Reviewers: durham, sid0, pyd

Differential Revision: https://phabricator.fb.com/D1662465
2014-11-05 16:14:33 -08:00
David Soria Parra
c381da40ee Merge default into fbonly 2014-11-06 14:52:43 -08:00
Alecs King
1b5f10e092 hg rage
Summary: add a 'hg rage' to log info and file a task.

Test Plan:
Here's a sample run with task and paste:

[int@dev1158]~/test% hg rage
pasting the rage info:
https://phabricator.fb.com/P17065959
filing the task:
https://our.intern.facebook.com/intern/tasks/?t=5544589

Reviewers: sid0, durham

Reviewed By: durham

Differential Revision: https://phabricator.fb.com/D1660543

Tasks: 5436255

Signature: t1:1660543:1415220586:9ce4431277ccccc86e98d01ed246e12e297fcfe0
2014-11-03 23:03:09 -08:00
Durham Goode
6d25680bdc Add reset command to setup.py 2014-10-29 15:01:02 -07:00
David Soria Parra
d517c21c5e Add the fbhistedit extension to the list of installed extensions
Summary: add fbhistedit extension to the list of installed extensiosn

Test Plan: run setup, ensure fbhistedit is properly compiled

Reviewers: sid0, daviser, pyd, durham

Reviewed By: durham

Differential Revision: https://phabricator.fb.com/D1627113
2014-10-20 20:11:53 -07:00
Durham Goode
c84d79512e Add reflog to setup.py 2014-10-10 11:32:17 -07:00
Siddharth Agarwal
70693db843 add some convenience features 2014-09-08 12:49:25 -07:00
Jez Ng
047c4ecd44 Add gitrevset support.
Test Plan: Extended unit tests.

Reviewers: sid0, durham

Reviewed By: durham

Differential Revision: https://phabricator.fb.com/D1543259

Tasks: 5049742
2014-09-08 15:36:12 -07:00
Durham Goode
f8b8c6a763 Tweak default update, log, and rebase behaviors
Summary:
This makes tweaks to the Mercurial defaults, to improve the user experience:

- hg update without arguments now aborts
- hg log now defaults to -f
- hg rebase without -d now aborts
- hg rebase will fast forward a bookmark if possible

Test Plan: Added a test, ran it.

Reviewers: mpm, sid0, davidsp, dschleimer, akushner

Differential Revision: https://phabricator.fb.com/D1501398
2014-07-23 09:47:35 -07:00
Siddharth Agarwal
08584add27 actually build gitlookup 2014-05-23 14:39:33 -07:00
Durham Goode
81ca4d4e44 Add hg backups command for easier backup bundle discovery
Summary:
Adds an 'hg backups' command that lists the commits in the backup
bundles, newest first. It also allows 'hg backups --recover <commit hash>' which will then
recover the commit from the appropriate backup bundle.

The default output looks like so: https://www.facebook.com/pxlcld/l0gC

Test Plan: Ran it.  See the screenshot

Reviewers: mpm, sid0, dschleimer, pyd, davidsp

Differential Revision: https://phabricator.fb.com/D1183032
2014-02-20 13:34:57 -08: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
Pierre-Yves David
b24e20f14b add the crecord extension to the list of installed extension.
The crecord extension is a nice ncurse version of record that allow you to
interactively select changes to include from files to line level.
2013-12-18 17:43:19 -08:00
Durham Goode
143e90ccdd Add phrevset to make file 2013-12-04 18:47:56 -08:00
Durham Goode
f39da261ad Install to site-packages/ instead of site-packages/hgext 2013-06-20 14:56:01 -07:00
Durham Goode
29a883af7c Rename package to fbhgext 2013-06-20 12:57:57 -07:00
Durham Goode
26387ef0c1 Initial commit: fbamend, smartlog 2013-06-20 12:16:36 -07:00