Thus said Dingyuan Wang on Sun, 06 May 2018 00:37:23 +0800:

> The fossil mv command seems can't rename a directory.

I  thought Fossil  only  tracked  files (which  is  their complete  path
relative  to  the  repository  checkout) and  does  not  actually  track
directories by themselves.

For example, this works fine:

$ mkdir first
$ touch first/file
$ ./fossil add first/file 
ADDED  first/file
$ ./fossil ci -m go
New_Version: 600ce3e31ee64a3ff98a9af360b50d5ca24323acac04ee25d26eee82de78fa58
$ ./fossil mv --hard first/file second/file
RENAME first/file second/file
MOVED_FILE /tmp/first/file
$ ./fossil ci -m again
New_Version: 5107ce9a7299518f44799149094ace083f7cec994578d429ca94897e3b09e395
$ ls first
$ ls second
file

Andy
-- 
TAI64 timestamp: 400000005aee8760


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to