How to fix "Case folding collision" in mercurial

Source: Internet
Author: User
Tags mercurial

First, describe what is case folding collision.

In Windows, file names are case-insensitive. For example, in the same directory, abc.txt and abc.txt are considered to be of the same name. In Linux, file names are case sensitive. Also, abc.txtand abc.txt are two different files!

In this way, the problem arises. When you push these two files in Linux and try to clone them in windows, the case folding collision issue may occur.

So how can we solve this problem?

Haha, it's very easy. in Linux, rename the relevant file and submit it. Then you can clone it in windows.

But the trouble is coming again. What should I do when I want to clone the open source code on the Internet in windows? The method mentioned above obviously fails. So... I had to go back to Linux and clone it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.