hgext/churn.py
changeset 28094 79fc627578ac
parent 26587 56b2bcea2529
child 28472 70d3dc05e118
equal deleted inserted replaced
28093:7353cacd5d54 28094:79fc627578ac
     6 # This software may be used and distributed according to the terms of the
     6 # This software may be used and distributed according to the terms of the
     7 # GNU General Public License version 2 or any later version.
     7 # GNU General Public License version 2 or any later version.
     8 
     8 
     9 '''command to display statistics about repository history'''
     9 '''command to display statistics about repository history'''
    10 
    10 
       
    11 from __future__ import absolute_import
       
    12 
       
    13 import datetime
       
    14 import os
       
    15 import time
       
    16 
    11 from mercurial.i18n import _
    17 from mercurial.i18n import _
    12 from mercurial import patch, cmdutil, scmutil, util, commands, error
    18 from mercurial import (
    13 from mercurial import encoding
    19     cmdutil,
    14 import os
    20     commands,
    15 import time, datetime
    21     encoding,
       
    22     error,
       
    23     patch,
       
    24     scmutil,
       
    25     util,
       
    26 )
    16 
    27 
    17 cmdtable = {}
    28 cmdtable = {}
    18 command = cmdutil.command(cmdtable)
    29 command = cmdutil.command(cmdtable)
    19 # Note for extension authors: ONLY specify testedwith = 'internal' for
    30 # Note for extension authors: ONLY specify testedwith = 'internal' for
    20 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
    31 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should