hgext/hbisect.py
changeset 3886 abaee83ce0a6
parent 3646 b4ad640a3bcf
child 3893 6b4127c7d52a
equal deleted inserted replaced
3885:1e0b94cfba0e 3886:abaee83ce0a6
     5 #
     5 #
     6 # This software may be used and distributed according to the terms
     6 # This software may be used and distributed according to the terms
     7 # of the GNU General Public License, incorporated herein by reference.
     7 # of the GNU General Public License, incorporated herein by reference.
     8 
     8 
     9 from mercurial.i18n import gettext as _
     9 from mercurial.i18n import gettext as _
    10 from mercurial.demandload import demandload
    10 from mercurial import hg, util, commands, cmdutil
    11 demandload(globals(), "os sys sets mercurial:hg,util,commands,cmdutil")
    11 import os, sys, sets
    12 
    12 
    13 versionstr = "0.0.3"
    13 versionstr = "0.0.3"
    14 
    14 
    15 def lookup_rev(ui, repo, rev=None):
    15 def lookup_rev(ui, repo, rev=None):
    16     """returns rev or the checked-out revision if rev is None"""
    16     """returns rev or the checked-out revision if rev is None"""