Saving the metadata changes in a repository sync as soon as possible, in case there's no changeset to sync or there's some other early return. Fixes #5159.
Saving the metadata changes in a repository sync as soon as possible, in case there's no changeset to sync or there's some other early return. Fixes #5159.

git-svn-id: 0d96b0c1a6983ccc08b3732614f4d6bfcf9cbb42@5219 af82e41b-90c4-0310-8c96-b1721e28e2e2

rbaumg/trac,rbaumg/trac,rbaumg/trac,rbaumg/trac