Did you ever figure out a way around the error? Specifically, arcpy telling you the feature classes couldn't be registered as versioned because they were part of a feature dataset [even though they weren't part of a feature dataset]? I'm running into this now in an Oracle GDB. Script below:
import os
import arcpy
import time
arcpy.env.workspace = "Database Connections\\_MVR NAVCHARTS.sde\\"
fcList = arcpy.ListFeatureClasses("NAVCHARTS*")
lockedList = []
for fc in fcList:
if arcpy.Describe(fc).isVersioned:
print fc + " already registered as versioned "+time.asctime()
else:
if arcpy.TestSchemaLock(fc):
print fc + " registering feature class as versioned "+time.asctime()
arcpy.RegisterAsVersioned_management(fc, "NO_EDITS_TO_BASE")
else:
print fc + " feature class locked, adding to locked list "+time.asctime()
lockedList.append(fc)
print "feature classed registered"+time.asctime()
print "following feature classed were locked and not registered: " + lockedList
This seems to handle the already-versioned and the locked feature classes as intended, but gives me the same error (001332) when it hits an unregistered and unlocked feature class.