[PATCH 0/3] Permit directories ending in *.d or *.i
Chad Netzer
cnetzer at comcast.net
Fri Jul 15 00:51:48 CDT 2005
On Thu, 2005-07-14 at 23:40 +0200, Goffredo Baroncelli wrote:
> Hi,
>
> due to the internal repository architecture, mercurial doesn't allow the existence
> of directories ending in '.d' or '.i'.
Is this actually true? It seemed to work find for me in a quick test,
but I didn't try anything more advanced than a commit.
% hg init
% mkdir foo.d
% echo "junk" >foo.d/bar
% hg status
? foo.d/bar
% hg add foo.d/bar
% hg status
A foo.d/bar
% hg commit
% hg status
% hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
1 files, 1 changesets, 1 total revisions
$ ls -l .hg/data/
total 4
drwxr-xr-x 2 blah users 4096 Jul 14 22:44 foo.d
What operations don't work? Is it not possible to fix those cases with
os.path.isdir()?
Chad
More information about the Mercurial
mailing list