mercurial/commands.py
changeset 31363 d0014d2d7645
parent 31345 dd49a6c166f7
child 31386 f1f57e4e55e0
--- 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'):