##// END OF EJS Templates
tests: show invalid copies when turning off copies-in-changeset...
Martin von Zweigbergk -
r43126:6f027355 default
parent child Browse files
Show More
@@ -133,6 +133,20 b' Test writing to both changeset and filel'
133 a -> j
133 a -> j
134 $ hg showcopies --config experimental.copies.read-from=filelog-only
134 $ hg showcopies --config experimental.copies.read-from=filelog-only
135 a -> j
135 a -> j
136 Existing copy information in the changeset gets removed on amend and writing
137 copy information on to the filelog
138 $ hg ci --amend -m 'copy a to j, v2' \
139 > --config experimental.copies.write-to=filelog-only
140 saved backup bundle to $TESTTMP/repo/.hg/strip-backup/dd7bb9581359-a6e6b6d2-amend.hg
141 $ hg changesetcopies
142 files: j
143 filesadded: 0
144 filesremoved:
145
146 p1copies: 0\x00a (esc)
147 p2copies:
148 $ hg showcopies --config experimental.copies.read-from=filelog-only
149 a -> j
136 The entries should be written to extras even if they're empty (so the client
150 The entries should be written to extras even if they're empty (so the client
137 won't have to fall back to reading from filelogs)
151 won't have to fall back to reading from filelogs)
138 $ echo x >> j
152 $ echo x >> j
General Comments 0
You need to be logged in to leave comments. Login now