details: http://www.bx.psu.edu/hg/galaxy/rev/4a067f42c725 changeset: 1705:4a067f42c725 user: Greg Von Kuster <greg@bx.psu.edu> date: Wed Jan 14 16:15:51 2009 -0500 description: When copying a history, only copy active_datasets - fixes sharing a history containing purged datasets. 1 file(s) affected in this change: lib/galaxy/model/__init__.py diffs (12 lines): diff -r 941266327bc3 -r 4a067f42c725 lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py Wed Jan 14 10:49:14 2009 -0500 +++ b/lib/galaxy/model/__init__.py Wed Jan 14 16:15:51 2009 -0500 @@ -376,7 +376,7 @@ des.flush() des.name = self.name des.user_id = self.user_id - for data in self.datasets: + for data in self.active_datasets: new_data = data.copy( copy_children = True ) des.add_dataset( new_data ) new_data.flush()