hgext/purge.py
changeset 4516 96d8a56d4ef9
parent 4462 a73cf208b2a0
child 4691 ca4971347e0a
equal deleted inserted replaced
4515:86a66cce9566 4516:96d8a56d4ef9
    81 
    81 
    82     In a name mangling filesystem (e.g. a case insensitive one)
    82     In a name mangling filesystem (e.g. a case insensitive one)
    83     dirstate.walk() can yield filenames different from the ones
    83     dirstate.walk() can yield filenames different from the ones
    84     stored in the dirstate. This already confuses the status and
    84     stored in the dirstate. This already confuses the status and
    85     add commands, but with purge this may cause data loss.
    85     add commands, but with purge this may cause data loss.
    86     
    86 
    87     To prevent this, _check_missing will abort if there are missing
    87     To prevent this, _check_missing will abort if there are missing
    88     files. The force option will let the user skip the check if he 
    88     files. The force option will let the user skip the check if he
    89     knows it is safe.
    89     knows it is safe.
    90     
    90 
    91     Even with the force option this function will check if any of the 
    91     Even with the force option this function will check if any of the
    92     missing files is still available in the working dir: if so there
    92     missing files is still available in the working dir: if so there
    93     may be some problem with the underlying filesystem, so it
    93     may be some problem with the underlying filesystem, so it
    94     aborts unconditionally."""
    94     aborts unconditionally."""
    95 
    95 
    96     found = [f for f in missing if util.lexists(repo.wjoin(f))]
    96     found = [f for f in missing if util.lexists(repo.wjoin(f))]