equal
deleted
inserted
replaced
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""" |