Edgewall Software

Changes between Initial Version and Version 1 of Ticket #12737, comment 9


Ignore:
Timestamp:
Jul 15, 2019, 9:01:52 PM (5 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12737, comment 9

    initial v1  
    11Replying to [comment:7 pocek@…]:
    22> I think this change introduced a regression. Before Trac 1.2.3 it was possible to sync a !GitRepository (not !GitCachedRepository).
    3 
    4 Syncing a non-cached repository will invalidate the persistent cache: [browser:tags/trac-1.2.3/tracopt/versioncontrol/git/git_fs.py@:678-679#L674]. Is that a useful operation on a non-cached repository? Is it needed because the commit tree may change with each changeset?
     3 
     4Syncing a non-cached repository will [browser:tags/trac-1.2.3/tracopt/versioncontrol/git/git_fs.py@:678-680#L674 invalidate] and [browser:tags/trac-1.2.3/tracopt/versioncontrol/git/PyGIT.py@:903#L901 refresh] the persistent cache.
    55
    66The old behavior could be restored with the following change: