[PATCH 3/3] Permit directories ending in *.d or *.i
Goffredo Baroncelli
kreijack at libero.it
Fri Jul 15 05:55:11 UTC 2005
On Friday 15 July 2005 01:42, Michael Smith wrote:
> On Thu, 14 Jul 2005 23:40:55 +0200 Goffredo Baroncelli
> <kreijack at aliceposta.it> wrote:
>
> | With this patches, mercurial stores the directories adding a '.dir' as
> | postfix, so the
> | conflicts are avoided; this patch, update the test
>
> Will there still be a problem if you have a file ending in ".dir"?
No; the file in the repository will be called something like file_name.dir.d.
- every file ends in .d and .i
- every directory ends in .dir
- there isn't any other object
So there is no possibility of conflicts.
Also you can have a file, remove it, then create a
directory with the same name without losing the history ( even tough mercurial isn't able
to manage those histories, because the two object have the same key )
Goffredo
--
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack at inwind.it>
Key fingerprint = CE3C 7E01 6782 30A3 5B87 87C0 BB86 505C 6B2A CFF9
More information about the Mercurial
mailing list