mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
5e0994a87f
Summary: Perforce has a feature called [[ http://answers.perforce.com/articles/KB/3482 | keyword expansion ]]. When a file is marked +k or +ko and you have a string like $Id$, it get's expanded to $Id: SOMETHING$ on Perforce. When importing a file like this from Perforce into Mercurial we need to do the reverse, renaming $Id: SOMETHING$ to $Id$ (and equivalent for all other expansion types). Test Plan: $ cd ~/facebook-hg-rpms/fb-hgext/tests/ $ python ../../hg-crew/tests/run-tests.py test-p4fastimport-import.t $ python ../../hg-crew/tests/run-tests.py test-p4* Reviewers: #idi, davidsp Reviewed By: davidsp Subscribers: davidsp Differential Revision: https://phabricator.intern.facebook.com/D5266323 Tasks: 19211063 Signature: t1:5266323:1497890444:a1cced5faa5e48c708c2721510952ca4d27d1bd4 |
||
---|---|---|
.. | ||
__init__.py | ||
filetransaction.py | ||
importer.py | ||
p4.py | ||
util.py |