comparison tests/test-purge.out @ 4307:c8919eb0f315

purge: abort with missing files avoiding problems with name-mangling fs In a name mangling filesystem (e.g. a case insensitive one) dirstate.walk() can yield filenames different from the ones stored in the dirstate. This already confuses the status and add commands, but with purge this may cause data loss. To prevent this purge refuses to work if there are missing files and has a 'force' option if the user knows it is safe. Even with the force option purge checks if any of the missing files is still available in the working dir: if so there may be some problem with the underlying filesystem, so it unconditionally aborts.
author Emanuele Aina <em@nerd.ocracy.org>
date Wed, 28 Mar 2007 21:34:12 +0200
parents 4c714ed245d6
children a73cf208b2a0
comparison
equal deleted inserted replaced
4306:d4f0405fadac 4307:c8919eb0f315
45 % delete ignored files 45 % delete ignored files
46 ignored 46 ignored
47 Removing file ignored 47 Removing file ignored
48 directory 48 directory
49 r1 49 r1
50 % abort with missing files until we support name mangling filesystems
51 refused to run
52 untracked_file still around
53 untracked_file
54 refused to run
55 untracked_file still around
56 Removing file untracked_file
57 directory
58 r1