# HG changeset patch # User Augie Fackler # Date 1489297860 18000 # Node ID d0014d2d76453d04e0d9982e265f0505ace8e058 # Parent 50cd81346ad418a4bfc15526b331c4f79687ff57 files: use native string type to load rev opt from dict diff -r 50cd81346ad4 -r d0014d2d7645 mercurial/commands.py --- a/mercurial/commands.py Sun Mar 12 00:50:44 2017 -0500 +++ b/mercurial/commands.py Sun Mar 12 00:51:00 2017 -0500 @@ -2083,7 +2083,7 @@ Returns 0 if a match is found, 1 otherwise. """ - ctx = scmutil.revsingle(repo, opts.get('rev'), None) + ctx = scmutil.revsingle(repo, opts.get(r'rev'), None) end = '\n' if opts.get('print0'):