Commit Graph

2 Commits

Author SHA1 Message Date
Jun Wu
770a8f102c smartlog: clean up master logic
Summary:
Use "interestingmaster()" to make it easier to see how "master" gets decided.

Change the type of "master" argument taken by "smartlog" revset from string to
revset.  This is more consistent with other revset functions.

Reviewed By: DurhamG

Differential Revision: D14436003

fbshipit-source-id: 5aa166b523f36672f77dc4f161ae8d64c2b50579
2019-03-14 20:14:37 -07:00
Jun Wu
9b4487b1c5 smartlog: add a test about revset
Summary:
Add a simple test about smartset revset. It shows "smartlog(master=revset)"
does not work.

Reviewed By: DurhamG

Differential Revision: D14436005

fbshipit-source-id: e566aa35d1cb335718a48db1314454d2dc50411b
2019-03-14 20:14:37 -07:00