Commit Graph

10 Commits

Author SHA1 Message Date
Siddharth Agarwal
b4c11162d8 fix smartlog for Mercurial changes
Summary:
Use `first()` instead of `[0]`.

Also fix coloring under non-ANSI terminals (required to get the test working).

Test Plan: Ran the tests. Also ran `hg sl` with this in a few of my repos.

Reviewers: durham, davidsp, akushner, daviser, rmcelroy, pyd

Reviewed By: pyd

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

Tasks: 5375006
2014-10-17 13:35:52 -07:00
Siddharth Agarwal
30f6859ed1 [githelp] add ls-files
Summary:
A couple of people requested this.

Also add `git` as an alias and fix the function name.

Test Plan:
Kicked the tires a bit.

```
hg git -- git ls-files
hg git -- git ls-files '**/*.py'
hg git -- git ls-files -m '**/.py'
hg git -- git ls-files -z '**/.py'
```

Reviewers: daviser, davidsp, akushner, pyd, durham

Reviewed By: durham

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

Tasks: 4515847
2014-10-09 19:26:29 -07:00
Siddharth Agarwal
18687164fa fix test-fbamend.t for Mercurial 3.2 2014-09-17 16:37:11 -07:00
Siddharth Agarwal
70693db843 add some convenience features 2014-09-08 12:49:25 -07:00
Pierre-Yves David
805376a3bc test: glob an explicit mercurial version in fbamend test
Silly me.
2014-06-16 14:27:45 -07:00
Pierre-Yves David
b49da34abc fbamend: auto-disable when evolution is enabled
fbamend is not compatible with evolution. We now detect such situation and
noisily disable fbamend in that case.
2014-06-11 22:34:21 -07:00
Pierre-Yves David
84158ce683 test: add a very basic test for fb-amend
The next changeset will make some change to fbamend. I'm introducting a
minimalist test to be able to test the change.
2014-06-12 17:53:50 -07:00
Pierre-Yves David
ff0aee50eb smartlog: simplify the coloration code with a list compression
Shorte, easier to read.
2014-06-10 16:53:53 -07:00
Pierre-Yves David
7e0d5ef381 smartlog: turn obsolete changeset grey
He highlight the "undead" status of obsolete changeset by turning them grey, the
same way the current changeset is highlighted with purple.
2014-06-10 16:52:48 -07:00
Durham Goode
7321a5e343 Initial commit with extensions and readme 2014-06-02 12:54:54 -07:00