hgext/relink.py
changeset 28380 ad266834251b
parent 26778 a95c975f42e3
child 29205 a0939666b836
equal deleted inserted replaced
28379:27a9032374a7 28380:ad266834251b
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 """recreates hardlinks between repository clones"""
     8 """recreates hardlinks between repository clones"""
       
     9 from __future__ import absolute_import
     9 
    10 
    10 from mercurial import cmdutil, hg, util, error
    11 import os
       
    12 import stat
       
    13 
       
    14 from mercurial import (
       
    15     cmdutil,
       
    16     error,
       
    17     hg,
       
    18     util,
       
    19 )
    11 from mercurial.i18n import _
    20 from mercurial.i18n import _
    12 import os, stat
       
    13 
    21 
    14 cmdtable = {}
    22 cmdtable = {}
    15 command = cmdutil.command(cmdtable)
    23 command = cmdutil.command(cmdtable)
    16 # Note for extension authors: ONLY specify testedwith = 'internal' for
    24 # Note for extension authors: ONLY specify testedwith = 'internal' for
    17 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
    25 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should