52
69
:param message: The message to associate with the shelved changes.
53
70
:param destroy: Change the working tree without storing the shelved
56
74
self.work_tree = work_tree
57
75
self.target_tree = target_tree
58
76
self.diff_writer = diff_writer
59
77
if self.diff_writer is None:
60
78
self.diff_writer = sys.stdout
63
83
self.auto_apply = auto_apply
64
84
self.file_list = file_list
69
92
def from_args(klass, diff_writer, revision=None, all=False, file_list=None,