Show More
@@ -637,6 +637,9 b' class changelog(revlog.revlog):' | |||
|
637 | 637 | if extra is None and any(x is not None for x in extrasentries): |
|
638 | 638 | extra = {} |
|
639 | 639 | sortedfiles = sorted(files) |
|
640 | if extra is not None: | |
|
641 | for name in ('p1copies', 'p2copies', 'filesadded', 'filesremoved'): | |
|
642 | extra.pop(name, None) | |
|
640 | 643 | if p1copies is not None: |
|
641 | 644 | extra['p1copies'] = encodecopies(sortedfiles, p1copies) |
|
642 | 645 | if p2copies is not None: |
@@ -140,11 +140,7 b' copy information on to the filelog' | |||
|
140 | 140 | saved backup bundle to $TESTTMP/repo/.hg/strip-backup/dd7bb9581359-a6e6b6d2-amend.hg |
|
141 | 141 | $ hg changesetcopies |
|
142 | 142 | files: j |
|
143 | filesadded: 0 | |
|
144 | filesremoved: | |
|
145 | 143 | |
|
146 | p1copies: 0\x00a (esc) | |
|
147 | p2copies: | |
|
148 | 144 | $ hg showcopies --config experimental.copies.read-from=filelog-only |
|
149 | 145 | a -> j |
|
150 | 146 | The entries should be written to extras even if they're empty (so the client |
General Comments 0
You need to be logged in to leave comments.
Login now