Fix setting of myimported, wrong condition.
Fix item assignment when sorting branches.
Fix parent/child linkage when setting up branch dependencies.
Completed processes on non-trunk default branch revisions.
Added skeleton code for the deletion of superfluous revisions.