Changeset 290 for branches/new-datamodel/src/model
- Timestamp:
- 04/29/10 10:17:20 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/new-datamodel/src/model/datamodel.lisp ¶
r288 r290 3087 3087 (:method ((construct ReifiableConstructC) (reifier-topic TopicC) 3088 3088 &key (revision *TM-REVISION*)) 3089 (when (and (reified-construct reifier-topic :revision revision) 3090 (not (equivalent-constructs construct 3091 (reified-construct 3092 reifier-topic :revision revision)))) 3093 (error (make-condition 'not-mergable-error 3094 :message (format nil "From add-reifier(): ~a and ~a can't be merged since the reified-constructs (~a ~a) are not mergable" 3095 reifier-topic (reifier construct :revision revision) (reified-construct reifier-topic :revision revision) construct) 3096 :construct-1 construct 3097 :construct-2 (reified-construct reifier-topic :revision revision)))) 3089 3098 (let ((merged-reifier-topic 3090 3099 (if (reifier construct :revision revision) … … 3853 3862 (destination-reified (reified-construct destination 3854 3863 :revision revision))) 3855 (unless (eql (type-of source-reified) (type-of destination-reified)) 3864 (when (and source-reified destination-reified 3865 (not (eql (type-of source-reified) 3866 (type-of destination-reified)))) 3856 3867 (error (make-condition 'not-mergable-error 3857 3868 :message (format nil "From move-reified-construct(): ~a and ~a can't be merged since the reified-constructs are not of the same type ~a ~a" … … 3869 3880 (source-reified 3870 3881 (delete-reifier source source-reified :revision revision) 3871 (add-reifier destination source-reified:revision revision)3882 (add-reifier source-reified destination :revision revision) 3872 3883 source-reified) 3873 3884 (destination-reified 3874 (add-reifier destination destination-reified:revision revision)3885 (add-reifier destination-reified destination :revision revision) 3875 3886 destination-reified))))) 3876 3887
Note: See TracChangeset
for help on using the changeset viewer.