[PATCH 2 of 2] store: encode trailing period and space on directory names (issue1417)
Patrick Mézard
pmezard at gmail.com
Sun Dec 14 11:16:04 CST 2008
Adrian Buehlmann a écrit :
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1229189549 -3600
> # Node ID 6ea0059cdfb083ed0501e80c67b8351abb916b5c
> # Parent ef3f939a6984ddf0d31a5c99821ee31f3a19c779
> store: encode trailing period and space on directory names (issue1417)
>
> Windows won't create directories with names ending in period or space, so
> we encode the last period/space character in directory names of non-hashed
> paths in the store using reversible ~xx encoding (' ' -> '~20', '.' -> '~2e').
>
> With this change it is possible to remove a directory ending in period or space
> that was inadvertantly checked in on a linux system while still being able
> to clone such a repository with its full history to Windows (see also issue793).
In crew-stable as ee5aba886108.
Thanks for the quick fix Adrian.
--
Patrick Mézard
More information about the Mercurial-devel
mailing list