Anonymous committed 5bb1ef7 Merge

[merge] branch bug_stop_no_rev_id #900.

  • Participants
  • Parent commits 2ddadd0, 233cd45

Comments (0)

Files changed (1)


         self.setattr(session, 'HEAD', True)
         self.setattr(session, 'revision', revision)
         if is None:
-            session.begin_nested()
+            # make uuid here so that if other objects in this session are flushed
+            # at the same time they know thier revision id
+   = make_uuid()
+            # there was a begin_nested here but that just caused flush anyway.
-            session.commit()
+            session.flush()
     def get_revision(self, session):