Fossil SCM

removing a directory doesn't work with a trailing slash

Fixed

118a98cb386c0e6… · opened 15 years, 8 months ago

Type
Code_Defect
Priority
Severity
Minor
Resolution
Fixed
Subsystem
Created
Aug. 11, 2010 12:25 a.m.

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:
Process input path with function "file_simplify_name" for command "add" and "delete".

Have a fun!


anonymous claiming to be [email protected] added on 2011-03-21 00:35:40 UTC: This ticket can probably be closed as a result of [04ddad7ab8e5c8bfe23daad995a73ead05d428fd].


dmitry added on 2011-09-08 22:58:33 UTC: I've verified that it has been fixed as mentioned above.



Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button