mirror of
https://github.com/facebook/sapling.git
synced 2025-01-08 14:46:47 +03:00
ae8c9ce375
All 3 users of _addrevision use raw: - addrevision: passing rawtext to _addrevision - addgroup: passing rawtext and raw=True to _addrevision - clone: passing rawtext to _addrevision There is no real user using _addrevision(raw=False). On the other hand, _addrevision is low-level code dealing with raw revlog deltas and rawtexts. It should not transform rawtext to non-raw text. This patch removes the "raw" parameter from "_addrevision", and does some rename and doc change to make it clear that "_addrevision" expects rawtext. Archeology shows 886a08012bbe added "raw" flag to "_addrevision", follow-ups fe1e206cb389 and 1cfa6239c923 seem to make the flag unnecessary. test-revlog-raw.py no longer complains.
5 lines
86 B
Plaintext
5 lines
86 B
Plaintext
local test passed
|
|
addgroupcopy test passed
|
|
clone test passed
|
|
lowlevelcopy test passed
|