[issue1404] Commit fails on a VMWare shared drive

Jukka Laurila mercurial-bugs at selenic.com
Mon Dec 1 07:56:38 CST 2008


New submission from Jukka Laurila <jukka.p.laurila at nokia.com>:

Commit on a repository on a VMWare shared drive fails in certain circumstances.
To replicate:

X:\shared>mkdir repo
X:\shared>cd repo
X:\shared\repo>mkdir foo
X:\shared\repo>echo foo >foo\foo.txt
X:\shared\repo>hg init
X:\shared\repo>hg add .
adding foo\foo.txt
X:\shared\repo>hg commit
trouble committing foo/foo.txt!
abort: The filename, directory name, or volume label syntax is incorrect:
X:\shared\repo\.hg\store\data/foo/foo.txt.i

X:\shared is a directory shared with an OS X Leopard host. The guest OS is WinXP
SP2. Mercurial is 1.0.2, installed via the TortoiseHG distribution. 

To trigger the bug the top level directory must be empty. The bug does not
appear if there is a file in the top level directory:

X:\shared>mkdir repo
X:\shared>cd repo
X:\shared\repo>mkdir foo
X:\shared\repo>echo foo>foo\foo.txt
X:\shared\repo>echo foo>foo.txt
X:\shared\repo>hg init
X:\shared\repo>hg add .
adding foo.txt
adding foo\foo.txt
X:\shared\repo>hg commit
X:\shared\repo>

The bug does not appear on a regular drive.

----------
messages: 8035
nosy: jlaurila
priority: bug
status: unread
title: Commit fails on a VMWare shared drive

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1404>
____________________________________________________



More information about the Mercurial-devel mailing list