Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#108 de-instance things in a combination

Minor Effort
open
nobody
5
2009-07-27
2009-07-27
Lee Butler
No

When an item is used in a combination more than once we can no longer identify unique instances of the item. For example:

mged> g things item1 item2 item1
mged> ls things
u item1
u item2
u item1

It would be nice to have an mged command that "fixes" these by creating an intermediate combination to "name" the instances.

mged> doit thing
mged> ls thing
u thing_item1_ref1
u item2
u thing_item1_ref2

It would be nice if this command worked recursively down the tree, so that an entire tree could be "fixed" at once, not just a single combination.

Discussion