Ticket Hash: | 118a98cb386c0e6ee4553a70cb420670b4e93499 | |||
Title: | removing a directory doesn't work with a trailing slash | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Minor | Priority: | ||
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2011-09-08 22:58:33 | |||
Version Found In: | 1d713f3f4d | |||
Description: | ||||
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. anonymous added on 2010-08-11 02:58:05: Have a fun! anonymous claiming to be sean@chittenden.org added on 2011-03-21 00:35:40 UTC: dmitry added on 2011-09-08 22:58:33 UTC: |
Attachments:
- patch [download] added by anonymous on 2010-08-11 02:50:54. [details]