equal
deleted
inserted
replaced
27 context, |
27 context, |
28 copies as copiesmod, |
28 copies as copiesmod, |
29 error, |
29 error, |
30 node, |
30 node, |
31 obsutil, |
31 obsutil, |
|
32 pathutil, |
32 pycompat, |
33 pycompat, |
33 registrar, |
34 registrar, |
34 rewriteutil, |
35 rewriteutil, |
35 scmutil, |
36 scmutil, |
36 util, |
|
37 ) |
37 ) |
38 |
38 |
39 cmdtable = {} |
39 cmdtable = {} |
40 command = registrar.command(cmdtable) |
40 command = registrar.command(cmdtable) |
41 |
41 |
183 |
183 |
184 # Naming a parent directory of an eligible file is OK, even |
184 # Naming a parent directory of an eligible file is OK, even |
185 # if not everything tracked in that directory can be |
185 # if not everything tracked in that directory can be |
186 # uncommitted. |
186 # uncommitted. |
187 if badfiles: |
187 if badfiles: |
188 badfiles -= {f for f in util.dirs(eligible)} |
188 badfiles -= {f for f in pathutil.dirs(eligible)} |
189 |
189 |
190 for f in sorted(badfiles): |
190 for f in sorted(badfiles): |
191 if f in s.clean: |
191 if f in s.clean: |
192 hint = _( |
192 hint = _( |
193 b"file was not changed in working directory parent" |
193 b"file was not changed in working directory parent" |