hgext/win32text.py
changeset 29485 6a98f9408a50
parent 26421 4b0fc75f9403
child 29841 d5883fd055c6
equal deleted inserted replaced
29484:53b7fc7cc2bb 29485:6a98f9408a50
    39   [hooks]
    39   [hooks]
    40   pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
    40   pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
    41   # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr
    41   # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr
    42 '''
    42 '''
    43 
    43 
       
    44 from __future__ import absolute_import
       
    45 
       
    46 import re
    44 from mercurial.i18n import _
    47 from mercurial.i18n import _
    45 from mercurial.node import short
    48 from mercurial.node import (
    46 from mercurial import util
    49     short,
    47 import re
    50 )
       
    51 from mercurial import (
       
    52     util,
       
    53 )
    48 
    54 
    49 # Note for extension authors: ONLY specify testedwith = 'internal' for
    55 # Note for extension authors: ONLY specify testedwith = 'internal' for
    50 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
    56 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
    51 # be specifying the version(s) of Mercurial they are tested with, or
    57 # be specifying the version(s) of Mercurial they are tested with, or
    52 # leave the attribute unspecified.
    58 # leave the attribute unspecified.