Fossil

View Ticket
Login

View Ticket

Ticket Hash: 99bca9b4d8ddc3ba9925dcd664df6da922a1439f
Title: "fossil stash" does not play well with "fossil mv"
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Open
Last Modified: 2014-03-22 19:50:23
Version Found In: 1.28
User Comments:
nobody added on 2014-03-22 01:22:31:
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/fossil-users@lists.fossil-scm.org/msg14953.html)

nobody (claiming to be Andy Goth) added on 2014-03-22 19:50:23:
Problem still exists in Fossil version 684eb478e7