mercurial/commands.py
changeset 42129 232a33a11ce0
parent 42124 d6437f414437
child 42130 a362b0b95e42
--- a/mercurial/commands.py	Mon Apr 15 22:13:11 2019 -0700
+++ b/mercurial/commands.py	Fri Apr 05 15:56:05 2019 +0200
@@ -4488,7 +4488,7 @@
             brev = None
 
             if checkout:
-                checkout = repo.changelog.rev(checkout)
+                checkout = repo.unfiltered().changelog.rev(checkout)
 
                 # order below depends on implementation of
                 # hg.addbranchrevs(). opts['bookmark'] is ignored,