hgext/convert/filemap.py
changeset 29205 a0939666b836
parent 28367 58b176240df6
child 32291 bd872f64a8ba
equal deleted inserted replaced
29204:ce2d81aafbae 29205:a0939666b836
     5 # GNU General Public License version 2 or any later version.
     5 # GNU General Public License version 2 or any later version.
     6 from __future__ import absolute_import
     6 from __future__ import absolute_import
     7 
     7 
     8 import posixpath
     8 import posixpath
     9 import shlex
     9 import shlex
       
    10 
       
    11 from mercurial.i18n import _
    10 from mercurial import (
    12 from mercurial import (
    11     error,
    13     error,
    12 )
    14 )
    13 from mercurial.i18n import _
       
    14 from . import common
    15 from . import common
    15 SKIPREV = common.SKIPREV
    16 SKIPREV = common.SKIPREV
    16 
    17 
    17 def rpairs(path):
    18 def rpairs(path):
    18     '''Yield tuples with path split at '/', starting with the full path.
    19     '''Yield tuples with path split at '/', starting with the full path.