hgext/strip.py
changeset 29205 a0939666b836
parent 28377 81ad683278b8
child 29852 d5883fd055c6
equal deleted inserted replaced
29204:ce2d81aafbae 29205:a0939666b836
     3 This extension allows you to strip changesets and all their descendants from the
     3 This extension allows you to strip changesets and all their descendants from the
     4 repository. See the command help for details.
     4 repository. See the command help for details.
     5 """
     5 """
     6 from __future__ import absolute_import
     6 from __future__ import absolute_import
     7 
     7 
       
     8 from mercurial.i18n import _
     8 from mercurial import (
     9 from mercurial import (
     9     bookmarks as bookmarksmod,
    10     bookmarks as bookmarksmod,
    10     cmdutil,
    11     cmdutil,
    11     error,
    12     error,
    12     hg,
    13     hg,
    15     node as nodemod,
    16     node as nodemod,
    16     repair,
    17     repair,
    17     scmutil,
    18     scmutil,
    18     util,
    19     util,
    19 )
    20 )
    20 from mercurial.i18n import _
       
    21 nullid = nodemod.nullid
    21 nullid = nodemod.nullid
    22 release = lockmod.release
    22 release = lockmod.release
    23 
    23 
    24 cmdtable = {}
    24 cmdtable = {}
    25 command = cmdutil.command(cmdtable)
    25 command = cmdutil.command(cmdtable)