Changes between Initial Version and Version 1 of Ticket #12737, comment 9
- Timestamp:
- Jul 15, 2019, 9:01:52 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12737, comment 9
initial v1 1 1 Replying to [comment:7 pocek@…]: 2 2 > 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 4 Syncing 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. 5 5 6 6 The old behavior could be restored with the following change: