changelog: parse copy metadata if available in extras
This lets read back the copy metadata we just started writing. There are still many places left to teach about getting the copy information from the changeset, but we have enough ({file_copies}, specifically) that we can add it now and have some test coverage of it. Differential Revision: https://phab.mercurial-scm.org/D6186
Showing
- mercurial/changelog.py 22 additions, 0 deletionsmercurial/changelog.py
- mercurial/context.py 15 additions, 0 deletionsmercurial/context.py
- mercurial/copies.py 2 additions, 2 deletionsmercurial/copies.py
- tests/test-copies-in-changeset.t 30 additions, 0 deletionstests/test-copies-in-changeset.t
- tests/test-copies.t 18 additions, 3 deletionstests/test-copies.t
Loading
Please register or sign in to comment