Hi Andy,

Try this:

kevin@kevin:~$ mkdir fossil
kevin@kevin:~$ cd fossil
kevin@kevin:~/fossil$ fossil new test
project-id: 72090bfca4c8d0618530e7b7b524056a25bf4052
server-id: f38e157351c762cbdb09d581ca17e1d70cb68f0c
admin-user: kevin (initial password is "c821e4")
kevin@kevin:~/fossil$ fossil open test
project-name: 
repository: /home/kevin/fossil/test
local-root: /home/kevin/fossil/
config-db: /home/kevin/.fossil
project-code: 72090bfca4c8d0618530e7b7b524056a25bf4052
checkout: a0a2d816aee3e2bc1cb0212e9869abc17c6691d5 2016-10-31 18:50:20 UTC
tags: trunk
comment: initial empty check-in (user: kevin)
check-ins: 1
kevin@kevin:~/fossil$ touch intlace.asm
kevin@kevin:~/fossil$ touch intlace.bin
kevin@kevin:~/fossil$ touch intlace.dsk
kevin@kevin:~/fossil$ fossil add intlace*
ADDED intlace.asm
ADDED intlace.bin
ADDED intlace.dsk
kevin@kevin:~/fossil$ fossil commit -m "add files"
New_Version: 828f91088a96ba00371148edb59da15ae42ac5d4
kevin@kevin:~/fossil$ ls
intlace.asm intlace.bin intlace.dsk subdir test
kevin@kevin:~/fossil$ fossil mv intlace* subdir
RENAME intlace.asm subdir/intlace.asm
RENAME intlace.bin subdir/intlace.bin
RENAME intlace.dsk subdir/intlace.dsk
kevin@kevin:~/fossil$ fossil changes
MISSING subdir/intlace.asm
MISSING subdir/intlace.bin
MISSING subdir/intlace.dsk
kevin@kevin:~/fossil$ fossil revert subdir/intlace*
UNMANAGE subdir/intlace*
kevin@kevin:~/fossil$ fossil changes
MISSING subdir/intlace.asm
MISSING subdir/intlace.bin
MISSING subdir/intlace.dsk
kevin@kevin:~/fossil$ fossil revert "subdir/intlace*"
UNMANAGE subdir/intlace*
kevin@kevin:~/fossil$ fossil changes
MISSING subdir/intlace.asm
MISSING subdir/intlace.bin
MISSING subdir/intlace.dsk
kevin@kevin:~/fossil$ fossil revert subdir/intlace.asm
DELETE subdir/intlace.asm
REVERT intlace.asm
"fossil undo" is available to undo changes to the working checkout.
kevin@kevin:~/fossil$ fossil changes
MISSING subdir/intlace.bin
MISSING subdir/intlace.dsk
kevin@kevin:~/fossil$ 

You reverted the files in their original location. To me that doesn't make 
sense. I consider the operation to have succeeded and fossil now thinks of them 
in their new location so I revert them in their new location to go back to 
their old location. I can revert them one at a time in their new location and 
that works.

OR I could copy or create files in their new location and revert those.

But still it's not possible to revert missing files using a wildcard. I guess 
because the shell doesn't know about them and doesn't expand them and fossil 
considers the * to be a valid character in a filename.








_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to