- Oct 14, 2014
-
-
durin42 authored
-
Siddharth Agarwal authored
Mercurial rev 4d52e6eb98ea removed localrepository.push. We don't do it the other way round (wrap push if exchange.push is available) because that's been available with a different signature since Mercurial 3.0.
-
Siddharth Agarwal authored
Mercurial rev 73b5b8312ce6 removed localrepository.pull. We don't do it the other way round (wrap pull if exchange.pull is available) because that's been available with a different signature since Mercurial 3.0.
-
- Oct 13, 2014
-
-
Siddharth Agarwal authored
This decorator will be used in other contexts in upcoming patches.
-
Siddharth Agarwal authored
An upcoming patch will import hg-git's util. This particular pattern is followed throughout the hg-git codebase.
-
- Oct 14, 2014
-
-
Siddharth Agarwal authored
We only support Mercurial >= 2.8.
-
durin42 authored
-
- Sep 03, 2014
-
-
Siddharth Agarwal authored
This bug becomes obvious now that the code is structured like this.
-
Siddharth Agarwal authored
For consistency with save_map and save_tags.
-
Siddharth Agarwal authored
'tags' is a fairly nonsensical name in this context.
-
Siddharth Agarwal authored
The writing out is in the git handler, so the loading should be too.
-
Siddharth Agarwal authored
This makes upcoming patches simpler.
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
If there are no elements in the map, we would have tried loading it over and over again. With this, we only try loading it once.
-
- Aug 31, 2014
-
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
We export new git commits with hg extra metadata stored as git extra fields. We also ensure that parsing old commits doesn't break.
-
Siddharth Agarwal authored
Git has a well-hidden notion of extra fields. They aren't accessible from the CLI, but Dulwich can create them. They're a better place to store Mercurial's extra metadata than the commit message. An upcoming patch will switch hg-git to saving the metadata in the Git extra fields. This commit: (a) prepares for that (b) extracts other Git extra fields so that commits from Git with such fields roundtrip correctly
-
Siddharth Agarwal authored
An upcoming patch will include an inline python test. tests/heredoctest.py is copied over from the Mercurial repository.
-
durin42 authored
-
durin42 authored
-
Siddharth Agarwal authored
Previously, we'd iterate over the extra elements in arbitrary order. We now sort the elements and store them in deterministic order. Without sorting, the included test fails half the time.
-
Siddharth Agarwal authored
-
- Aug 30, 2014
-
-
Siddharth Agarwal authored
We didn't actually have a test for this until now.
-
Siddharth Agarwal authored
Mercurial rev 650b5b6e75ed changed the contract for filectxfn, and rev d226fe36e362 added a way for us to detect the change.
-
- Aug 23, 2014
- Aug 01, 2014
- Jul 06, 2014
-
-
Takumi IINO authored
-