mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
A Scalable, User-Friendly Source Control System.
cdda6c15f8
Summary: This is a massive hack until Dewey becomes capable of answering these questions. The plan is to use these commands in `arc diff` and `arc patch` to send the Git versions of the base commit over, so that the diff and land infra reaches parity with Git. This should also unblock configerator-hg and allow the landing strip to work. Test Plan: In my `fbandroid-from-git` repo, enabled this extension, and then added the config: ``` [gitlookup] mapfile = git-mapfile ``` Then, ran ``` hg id -r _gitlookup_hg_1fe73e73af4acadf1865a41e3aaa518a70cc2302 ssh://localhost//data/users/sid0/fbandroid-from-git -i --debug ``` Saw that the last line printed out was `76327beadc98c7c0559cd8aa36f0a25d93d781a5`, the Git equivalent of that commit. After this, ran ``` hg id -r _gitlookup_git_76327beadc98c7c0559cd8aa36f0a25d93d781a5 ssh://localhost/data/users/sid0/fbandroid-from-git -i --debug ``` Saw that the last line printed out was `1fe73e73af4acadf1865a41e3aaa518a70cc2302`, as expected. Reviewers: dschleimer, akushner, davidsp, pyd, mpm, durham Reviewed By: durham Subscribers: pradvenkat, akshay, thawan Differential Revision: https://phabricator.fb.com/D1330813 Tasks: 3751836 |
||
---|---|---|
crecord | ||
.hgignore | ||
backups.py | ||
fbamend.py | ||
githelp.py | ||
gitlookup.py | ||
Makefile | ||
phrevset.py | ||
setup.py | ||
smartlog.py |