Skip to content
Snippets Groups Projects
Commit 310222fe authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

revset: allow rev(-1) to indicate null revision (BC)

This can simplify the conversion from numeric revision to string. Without it,
we have to handle -1 specially because repo['-1'] != repo[-1].

The -1 revision is not officially documented, but this change makes sense
assuming that "rev(%d)" exists for scripting or third-party tools.
parent af73c05e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment