mercurial/revset.py
changeset 15791 a814f8fcc65a
parent 15726 9b822edecb4c
child 15819 33ca11b010e2
--- a/mercurial/revset.py	Sun Jan 08 17:57:25 2012 +0100
+++ b/mercurial/revset.py	Sun Jan 08 18:15:54 2012 +0100
@@ -1108,7 +1108,7 @@
             return '(0-0)' # a minimal way to represent an empty set
         if l == 1:
             return argtype(t, s[0])
-        m = l / 2
+        m = l // 2
         return '(%s or %s)' % (listexp(s[:m], t), listexp(s[m:], t))
 
     ret = ''