Skip to content
Snippets Groups Projects
Commit 853a8fab11f2 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

benchmark: add some doc to _setup_revset

This is not a long doc, but should help to navigate the code.
parent 903f6705c269
No related branches found
No related tags found
No related merge requests found
......@@ -271,6 +271,7 @@
self._hgserve = None
def _setup_revset(self, revset):
"""If the operation target a specific revision, resolve it beforehand"""
if revset is not None:
self.rev = self.hg('identify', '-i', '-r', revset).strip()
else:
......
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