Catalog, when switched to, goes kablooey
Posted: 24 Dec 2014 05:21
I have this catalog of Git repositories (mostly for offline/offsite backup, not branching or versioning):

Almost every category has the same three items: Go to, copy path, go to at the command prompt. Nothing special. I have another catalog, called "global", that is nothing but a "switch to another catalog" catalog. An index/TOC. What's supposed to happen, is the global catalog is reloaded, and the catalog being switched to is included below it. Here's the global catalog, before switching to anything:

Now, when I switch back to the above original catalog, by clicking on the "Non-xbnj" item, many of the categories in the included catalog disappear, and the items in those now-gone categories all move to the XYplorer category:

Why is this catalog being corrupted when switched to in this manner?
---
Here's the global/switch-to-catalog item:

The script it calls:
and the script *it* calls (_unload_all_include_global.xys):
I've also attached the "main", global, and permanently-empty catalogs.

Almost every category has the same three items: Go to, copy path, go to at the command prompt. Nothing special. I have another catalog, called "global", that is nothing but a "switch to another catalog" catalog. An index/TOC. What's supposed to happen, is the global catalog is reloaded, and the catalog being switched to is included below it. Here's the global catalog, before switching to anything:

Now, when I switch back to the above original catalog, by clicking on the "Non-xbnj" item, many of the categories in the included catalog disappear, and the items in those now-gone categories all move to the XYplorer category:

Why is this catalog being corrupted when switched to in this manner?
---
Here's the global/switch-to-catalog item:

The script it calls:
Code: Select all
load "_unload_all_include_global.xys"; catalogload "git_repositories_non_xbnjava.dat", "i";Code: Select all
catalogload "permanently_empty_catalog.dat", "p"; catalogload "_global.dat", "i";