add debug param for smarty
BranchDiff - diffs between branches