# HG changeset patch # User Marcin Kuzminski # Date 2013-06-26 22:30:06 # Node ID af733fa965b0cf3cba14d31f3ea99321fdab4d81 # Parent a1bc4af25ec55d117ec05dfc1e2adf3745b0e828 fixed diffs vs Empty changeset diff --git a/rhodecode/controllers/changeset.py b/rhodecode/controllers/changeset.py --- a/rhodecode/controllers/changeset.py +++ b/rhodecode/controllers/changeset.py @@ -246,7 +246,7 @@ class ChangesetController(BaseRepoContro c.changes[changeset.raw_id] = [] cs2 = changeset.raw_id - cs1 = changeset.parents[0].raw_id if changeset.parents else EmptyChangeset() + cs1 = changeset.parents[0].raw_id if changeset.parents else EmptyChangeset().raw_id context_lcl = get_line_ctx('', request.GET) ign_whitespace_lcl = ign_whitespace_lcl = get_ignore_ws('', request.GET)