Edgewall Software

Opened 11 years ago

Last modified 11 years ago

#11075 closed defect

Git changesets with same revision should be a single event in timeline view — at Initial Version

Reported by: Jun Omae Owned by:
Priority: normal Milestone: 1.0.2
Component: plugin/git Version: 1.0
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Because GitRepository.get_changeset_uid is not implemented…

  • tracopt/versioncontrol/git/git_fs.py

    diff --git a/tracopt/versioncontrol/git/git_fs.py b/tracopt/versioncontrol/git/git_fs.py
    index 3802d7f..12b167e 100644
    a b class GitRepository(Repository):  
    434434        """GitChangeset factory method"""
    435435        return GitChangeset(self, rev)
    436436
     437    def get_changeset_uid(self, rev):
     438        return self.normalize_rev(rev)
     439
    437440    def get_changes(self, old_path, old_rev, new_path, new_rev,
    438441                    ignore_ancestry=0):
    439442        # TODO: handle renames/copies, ignore_ancestry

Change History (0)

Note: See TracTickets for help on using tickets.