What’s the best way to remove a module permanently? Even better, how to rename it? I just realized that
require("moduleName") is case sensitive but when I try to recreate the module (which I accidentally named modulename to moduleName, it says that the module already exists.
Hmm. I don’t think you can get around that without digging into the fossil repository.
Please note that dinking with the repository can give you unintended headaches, so BACK EVERYTHING UP before you try this.
In the translator, remove the ‘require’ statement for the offending module and delete the module from the project management window. Then save your milestone.
$ cd /path/to/iNTERFACEWARE-Iguana $ fossil open vcs_repo.sqlite (answer "N" to any "overwrite?" questions) $ fossil rename shared/oldmodule.lua shared/newmodule.lua $ mv edit/admin/shared/oldmodule.lua edit/admin/shared/newmodule.lua $ fossil ci (enter a comment, then a '.' on its own line) $ fossil close
C> cd \Program Files\iNTERFACEWARE\Iguana C> fossil open vcs_repo.sqlite (answer "N" to any "overwrite?" questions) C> fossil rename shared/oldmodule.lua shared/newmodule.lua C> ren edit\admin\shared\oldmodule.lua newmodule.lua C> fossil ci (enter a comment, then '.' on its own line) C> fossil close
Jeff Drumm ◊ VP and COO ◊ HICG, LLC. ◊ http://www.hicgrp.com
You must be logged in to reply to this topic.