 
         } else {
             let previousSequence: [Any] = updatedRecordedSegments.map { $0.segmentIdentifier }
-            print("DBG: previousSequence=\(previousSequence)")
             self.executeRouteSequence(previousSequence, append: false, routeBranch: defaultRouteBranch, completion: completion)
         }
     }

                if let p = vc?.parentViewController {
                    result += ",p=" + String(p.dynamicType)
                }
                print(result)
            }
        }
    }

    public private(set) var routeSegments: [Identifier: RouteSegmentType] = [:]

                self.popRouteUsingRouteSegmentsToPop(newRecordedSegmentsToPop, sequenceCompletion: sequenceCompletion, popCompletion: popCompletion)
            case .Failure(_):
                // if popping this segment failed, do not attempt to pop the next one, just fail
                sequenceCompletion(.Failure(RoutingErrors.CouldNotReversePresentation(recordedSegment.segmentIdentifier)))
                popCompletion()
            }
        }
