# HG changeset patch
# User Augie Fackler <au...@google.com>
# Date 1489297860 18000
#      Sun Mar 12 00:51:00 2017 -0500
# Node ID 82cbf9cd26c318c4f3efa2e01d32f226c492cd11
# Parent  90b52b8ab62de4417fe13b06e52e9ff312bb30f9
files: use native string type to load rev opt from dict

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2083,7 +2083,7 @@ def files(ui, repo, *pats, **opts):
     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'):
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to