-
-
rbtools/clients/mercurial.py (Diff revision 1) Are there other symbolic reference formats that could cause the same issue? Should we always run this command no matter what?
Fix broken commit id of parent diff if it contains a valid ^ char
Review Request #7823 — Created Dec. 23, 2015 and submitted
Those '^' chars are valid to reference a relative revision.
Example:
hg log -r tip^1
hg log -r NODEID^5If the reviewboard requests the old revision via hgweb it will fail
since hgweb does not support the relative revision syntax. So we
need to rewrite this relative node id to an absolute node id.Also it will modify short and valid negative revision numbers to
full changeset node id as short revision numbers are local only.hg log -r -1
hg log -r 123Bugs closed: 3915
Description: |
|
---|
-
-
rbtools/clients/mercurial.py (Diff revision 2) Now that this doesn't have a conditional to indicate what it's for, can we add a comment explaining what and why?

-
Tool: PEP8 Style Checker Processed Files: rbtools/clients/mercurial.py Tool: Pyflakes Processed Files: rbtools/clients/mercurial.py