Checks for case insensitive and name-mangling filesystems in purge [Was: Cleanup of the purge extension]
Alexis S. L. Carvalho
alexis at cecm.usp.br
Wed Apr 4 07:56:58 UTC 2007
Thus spake Emanuele Aina:
> Alexis S. L. Carvalho accettò:
> >Looks OK. Can you send the patch?
>
> Here it is.
I've pushed it to crew with some tiny edits (added some missing calls to
repo.wjoin during the util.lstats and some style fixes).
> Can you please use the <em at nerd.ocracy.org> address, instead of the one
> in the From: field?
>
> I should change the subscription to the list, but I'm just too lazy... :)
Sure :)
> I've also updated the automatic tests to check the behavior with missing
> files and with the --force option. Obviously I cannot test the behavior
> with a case insensitive fs.
>
> To check if the command failed I've used this:
>
> hg purge -v 2> /dev/null
> if [ $? -ne 0 ]; then
> echo "refused to run"
> fi
>
> Is this ok?
I guess so - I added a check to make sure the untracked file is
still around after that, just in case.
> If you think that purge is ready for hgext the old patch I've sent
> should still apply. :)
Also in crew.
Thanks
Alexis
More information about the Mercurial-devel
mailing list