On 29 July 2015 at 21:29, Joe Mistachkin <[email protected]> wrote:
>
> Michai Ramakers wrote:
>>
>> Right... creating the target-dir 'd2' beforehand worked in my case;
>> any subdir existing under 'd' seems to be moved under 'd2' afterwards.
>>
>
> I think the following change will fix the issue:
>
> https://www.fossil-scm.org/fossil/info/b86127e187a00bfc
BTW, "fossil mv" behaves different than *nix "mv" if source and
destination are directories; I guess this is by design.
mkdir dir1
echo gone > dir1/f
fossil addr
fossil ci -m kiwi
mkdir x
echo precious > x/f
fossil mv --hard dir1 x
cat x/f # 'gone'
fossil undo # 'nothing to undo'
Silly example - I am just playing around a bit to see how things work.
(Behaviour the same before and after recent fix, naturally.)
Michai
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users