def show_commit(repo, commit, decode, outstream=sys.stdout):
 print_commit(commit, decode=decode, outstream=outstream)
 parent_commit = repo[commit.parents[0]]
 write_tree_diff(outstream, repo.object_store, parent_commit.tree, commit.tree)

def show_commit ( repo , commit , decode , outstream = sys . stdout ) : print_commit ( commit , decode = decode , outstream = outstream ) parent_commit = repo [ commit . parents [ 0 ] ] write_tree_diff ( outstream , repo . object_store , parent_commit . tree , commit . tree )
show a commit to a stream .