Ticket Change Details
Not logged in
Overview

Artifact ID: 8adf44b32abd305331ca04fb26c34dd528178635
Ticket: 36cb6b45fd9d31f6bc4bd4ad87f18aad50e5bce9
in windows, fossil allows addition of the same file twice
User & Date: anonymous 2010-01-20 12:38:01
Changes

  1. Appended to comment:
    
    
    <hr><i>anonymous claiming to be ramsan added on 2010-01-20 12:38:01:</i><br>
    But I do not understand the problem. When doing:
    <verbatim>
      PS C:\fossil\test> notepad camelCase.txt
      PS C:\fossil\test> fossil add camelCase.txt
      ADDED  camelCase.txt
      PS C:\fossil\test> fossil add camelcase.txt
      ADDED  camelcase.txt
    </verbatim>
    Command "fossil add ..." needs to ask the operating system if file 'camelcase.txt' exist. If it does not exist, the command fails. When doing this request, fossil can ask the operating system for the exact name of the file. In this case, the OS would answer "camelCase.txt". Then, it would be easy to detect that "camelCase.txt" has already been added and raise an error.