Logic needs to be written to account for different types of geodatabases.
If the child is a file gdb the replica names will not be the same in each geodatabase
For example in SDE it might be GIS.REPSOMETHING
But in the fgdb it will just be named REPSOMETHING
Look at reworking the logic between roughly 1341-1390
Need to add checks for type of workspace, then split the name or keep it as the user specified, if both geodatabases are SDE the existing code will work but if the child is fgdb it will fail.
Logic needs to be written to account for different types of geodatabases.
If the child is a file gdb the replica names will not be the same in each geodatabase
For example in SDE it might be GIS.REPSOMETHING
But in the fgdb it will just be named REPSOMETHING
Look at reworking the logic between roughly 1341-1390
Need to add checks for type of workspace, then split the name or keep it as the user specified, if both geodatabases are SDE the existing code will work but if the child is fgdb it will fail.