Fossil SCM
"fossil stash" does not play well with "fossil mv"
99bca9b4d8ddc3b…
· opened 12 years ago
- Type
- Code_Defect
- Priority
- —
- Severity
- Important
- Resolution
- Open
- Subsystem
- —
- Created
- March 22, 2014 1:22 a.m.
The "fossil stash" command does not seem to understand "fossil mv". When a stash is restored, the files are given their old names.
$ fossil new test.fossil $ mkdir test $ cd test $ fossil open ../test.fossil $ echo moo > file $ fossil add file $ fossil commit -m add $ mv file file2 $ fossil mv file file2 $ fossil stash save -m rename $ fossil ls file $ fossil stash show CHANGED file2 --- file2 +++ file2 $ fossil stash pop UPDATE file2 $ fossil changes MISSING file $ fossil extras file2
(Originally reported to the mailing list 17 March 2014, though there have been no replies as of today. Reference http://www.mail-archive.com/[email protected]/msg14953.html)
Comments (2)
The "fossil stash" command does not seem to understand "fossil mv". When a stash is restored, the files are given their old names.
$ fossil new test.fossil $ mkdir test $ cd test $ fossil open ../test.fossil $ echo moo > file $ fossil add file $ fossil commit -m add $ mv file file2 $ fossil mv file file2 $ fossil stash save -m rename $ fossil ls file $ fossil stash show CHANGED file2 --- file2 +++ file2 $ fossil stash pop UPDATE file2 $ fossil changes MISSING file $ fossil extras file2
(Originally reported to the mailing list 17 March 2014, though there have been no replies as of today. Reference http://www.mail-archive.com/[email protected]/msg14953.html)
Problem still exists in Fossil version 684eb478e7