hgext3rd/evolve/cmdrewrite.py
branchstable
changeset 4956 0fe5d74134d6
parent 4915 5113b38cb677
child 4963 721b35f4341c
child 4988 588b3484c131
equal deleted inserted replaced
4937:0d1893c1044c 4956:0fe5d74134d6
   520 
   520 
   521             # Naming a parent directory of an eligible file is OK, even
   521             # Naming a parent directory of an eligible file is OK, even
   522             # if not everything tracked in that directory can be
   522             # if not everything tracked in that directory can be
   523             # uncommitted.
   523             # uncommitted.
   524             if badfiles:
   524             if badfiles:
   525                 badfiles -= set([f for f in util.dirs(eligible)])
   525                 badfiles -= set([f for f in compat.dirs(eligible)])
   526 
   526 
   527             try:
   527             try:
   528                 uipathfn = scmutil.getuipathfn(repo)
   528                 uipathfn = scmutil.getuipathfn(repo)
   529             except AttributeError:
   529             except AttributeError:
   530                 uipathfn = match.rel   # <= 4.9
   530                 uipathfn = match.rel   # <= 4.9