Ticket Change Details
Not logged in
Overview

Artifact ID: 92cec9ff00789f9d48e000be2824db820d715f7c
Ticket: 77ab05a0e9d890599c3241f7025de68f9c250604
Moving files doesn'trespect directory structures
User & Date: anonymous 2011-02-11 16:00:31
Changes

  1. Appended to comment:
    
    
    <hr /><i>anonymous claiming to be nolan@thewordnerd.info added on 2011-02-11 16:00:31 UTC:</i><br />
    I did a bit more digging on this. What I'm attempting to do is to move a bunch of Scala code into another package, so I ran something like:
    
    fossil mv some/package/directory/* another/directory
    
    What I'd expect to happen is that Fossil will move all the files, honoring the directory structure. So if I had some/package/directory/lib/Lib.scala, I'd expect to find that in another/directory/lib/Lib.scala.
    
    What it did in this instance, unfortunately, was to attempt flattening the structure. That is, all files in the first directory were indiscriminately dumped into the second without subdirectories. Fortunately it failed or I might not have spotted it until I committed the change. The failure was caused by there being .keep files in some of the subdirectories such that they'll still exist even if empty. Fossil tried dumping these multiple files into the wrongly-flattened directory, and SQLite threw a constraint complaint.
    
    Thanks, let me know if you need any more details.
    
  2. resolution changed to: "Open"
  3. severity changed to: "Important"
  4. title changed to: "Moving files doesn'trespect directory structures"