Files changed (2)
If no patch name is specified, it will move the currently applied patch to the specified 1-based index.
+ - qticket: open a ticket/issue tracking URL for a ticket based on some pattern in either the patch name or first line of the patch. To use this command, simply add a new section to your .hg/hgrc file as such:
+ If you use "file" you will only have the patch name to apply the regex to. With "contents" you only get the first line of the patch. You can set the first line of your patch by using `hg qref -e` (what you type here is also what will be your commit message in your hg logs).
+ If any policies succeed, the command will attempt to launch your default web browser to the location determined by the policy.
+ util.Abort('Invalid match type in policy %s: %s. Options are "file" and "contents"\n' % (name, match_type))