Fossil SCM
Incorrect relative paths
Open
61e137bfd734ab6…
· opened 14 years, 5 months ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- —
- Subsystem
- —
- Created
- Oct. 14, 2011 8:05 a.m.
In windows, if local-root (local checkout) is at root of a drive, 'status' command when run from root shows additional '../' in file names, which is incorrect.
Recipe:
cd /d d:
fossil new test.fossil
fossil open test.fossil
echo root > root.txt
mkdir dir
echo subdir > dir/subdir.txt
fossil add root.txt dir/subdir.txt
fossil commit -m "test"
echo changed > root.txt
echo changed > dir/subdir.txt
fossil status
The output shows:
repository: d:/test.fossil
local-root: d:/
...
EDITED ../dir/subdir.txt
EDITED ../root.txt