contrib/purge/purge.py
changeset 4121 d250076824e3
parent 4120 f9dc36b1bdd5
child 4147 691f9168a815
equal deleted inserted replaced
4120:f9dc36b1bdd5 4121:d250076824e3
    16 # You should have received a copy of the GNU General Public License
    16 # You should have received a copy of the GNU General Public License
    17 # along with this program; if not, write to the Free Software
    17 # along with this program; if not, write to the Free Software
    18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    19 
    19 
    20 from mercurial import hg, util
    20 from mercurial import hg, util
       
    21 from mercurial.i18n import _
    21 import os
    22 import os
    22 
       
    23 def _(s):
       
    24     return s
       
    25 
    23 
    26 class Purge(object):
    24 class Purge(object):
    27     def __init__(self, act=True, abort_on_err=False, eol='\n'):
    25     def __init__(self, act=True, abort_on_err=False, eol='\n'):
    28         self._repo = None
    26         self._repo = None
    29         self._ui = None
    27         self._ui = None