Fossil SCM

fossil up doesn't recover deleted file (fossil up -v does....)

Fixed

40a7d777a465487… · opened 14 years, 11 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
April 18, 2011 4:27 p.m.

if I delete one file from repository and I do a fossil up to recover it, it doesn't work (nothing happens). But fossil up -v recover the deleted file as expected...

Seems that "-v" does more than adding verbosity...


anonymous claiming to be Martin added on 2011-04-18 16:29:10 UTC: Correction: When I say "Delete one file from repository", I mean Delete the file locally from file system..


drh added on 2011-04-18 18:25:49 UTC: The problem with the -v switch has been fixed.

For restoring a deleted file, you want the "revert" command, not "update".


anonymous added on 2011-04-18 19:38:59 UTC: Ok.. now -v does the same as without it.. but may be a bit too much, we got identical outpout now. Before, we got bunch of UNCHANGED: " lines for every file in the repository with "-v". The new version doesn't show that anymore. Was it intentional ?

Anyway, the UNCHANGED: lines was not very usefull for me.. But having the MISSING: and EDITED: lines with -v would be usefull (without the UNCHANGED ones)




Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button