mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
support both log
and log|history
]
Reviewed By: MichaelCuevas Differential Revision: D41298269 fbshipit-source-id: 41cd2f1eedaa232fef5f9b36ddcaa6b0348ecddb
This commit is contained in:
parent
d20daa1255
commit
ad1cbb142f
@ -470,7 +470,10 @@ def _setupcommit(ui) -> None:
|
||||
|
||||
|
||||
def _setuplog(ui) -> None:
|
||||
entry = commands.table["log|history"]
|
||||
entry = commands.table.get("log", None)
|
||||
if entry is None:
|
||||
# Try command with legacy alias.
|
||||
entry = commands.table["log|history"]
|
||||
entry[1].append(
|
||||
("", "sparse", None, "limit to changesets affecting the sparse checkout")
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user