Ticket Change Details
Not logged in
Overview

Artifact ID: 7f505eda0c9f06761a4a13616a4c3ac36e67ed82
Ticket: 118a98cb386c0e6ee4553a70cb420670b4e93499
removing a directory doesn't work with a trailing slash
User & Date: anonymous 2010-08-11 00:25:27
Changes

  1. comment changed to:
    Doing fossil rm foo/bar/ lists all the files contained in foo/bar as marked deleted, but fossil changes don't show any change and fossil commit don't commit anything.
    
    fossil rm foo/bar without the trailing slash however, does work. 
    
    With the trailing slash, the output of fossil rm foo/bar/ displays the files path with two slashes after bar, which is probably the cause of the problem.
    
    Since bash appends a trailng slah after auto-completing a directory name with tab, it is easy to stumble upon this problem which can give the impression that removing a directory is broken.
    
  2. foundin changed to: "1d713f3f4d"
  3. private_contact changed to: "ba07c6d5d3c5e044f8238154a7f39762cc1663cc"
  4. severity changed to: "Minor"
  5. status changed to: "Open"
  6. title changed to:
    removing a directory doesn't work with a trailing slash
    
  7. type changed to: "Code_Defect"