A Scalable, User-Friendly Source Control System.
Go to file
Siddharth Agarwal cdda6c15f8 add an extension that allows server-side hg->git and git->hg lookups
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
2014-05-14 16:17:25 -07:00
crecord add the crecord extension to the list of installed extension. 2013-12-18 17:43:19 -08:00
.hgignore Initial commit: fbamend, smartlog 2013-06-20 12:16:36 -07:00
backups.py backups: compatibility with Mercurial 3.0 2014-04-25 11:21:34 -07:00
fbamend.py Fix hg commit -l when using fbamend 2014-04-25 17:13:13 -07:00
githelp.py githelp: properly abort on unknown command 2014-04-28 12:51:23 -07:00
gitlookup.py add an extension that allows server-side hg->git and git->hg lookups 2014-05-14 16:17:25 -07:00
Makefile Initial commit: fbamend, smartlog 2013-06-20 12:16:36 -07:00
phrevset.py Use a processgroup to ensure all arc subprocesses are properly killed 2013-12-12 14:49:04 -08:00
setup.py Add 'hg githelp' command 2014-02-20 20:54:17 -08:00
smartlog.py Fix smartlog commit sorting 2014-04-18 14:33:17 -07:00