Update fails with long file name

Adrian Buehlmann adrian at cadifra.com
Tue Sep 29 21:29:02 UTC 2015


On 2015-09-29 23:06, Aaron Cohen wrote:
> For the record, regarding the file named "aux" issue.
> 
> 1) When you hg add a reserved file name such as "aux"
> 
>> echo "test" > aux
>> hg add aux
> warning: filename contains 'aux', which is reserved on Windows: 'aux'

Yep. See also the ui.portablefilenames config option [1]

> 2) If you clone or pull from this repo, on Windows you get an abort,
> with or without my extension:
>> hg clone test.bundle test
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 1 changesets with 1 changes to 1 files
> updating to branch default
> abort: filename contains 'aux', which is reserved on Windows: 'aux'

I think the clone or pull by itself is not aborted - just the update
step. Because it tries to update to a revision containing a reserved
filename.

[1] https://www.selenic.com/mercurial/hgrc.5.html#ui



More information about the Mercurial mailing list