- Nov 30, 2014
-
-
Siddharth Agarwal authored
This prepares for an upcoming patch. In theory, we could pass the context into export_hg_commit, but there's some encoding shenanigans going on there that I don't want to delve into.
-
- Nov 25, 2014
-
-
Durham Goode authored
0cc283f44655 in upstream Mercurial added a matches function to the manifest. This broke 'hg incoming -p' with hg-git. This patch adds a simple implementation that fixes the problem. This was caught by the tests, and now the tests pass.
-
- Nov 05, 2014
- Nov 04, 2014
-
-
Siddharth Agarwal authored
Previously we'd crash on annotated tags because they don't have a 'tag_time' property.
-
- Oct 30, 2014
-
-
Siddharth Agarwal authored
-
- Oct 31, 2014
-
-
Siddharth Agarwal authored
-
- Oct 30, 2014
-
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
This is useful if there's no desire to import old Git branches, but new ones should be.
-
- Oct 31, 2014
-
-
Siddharth Agarwal authored
This is quite similar to syntax Git supports. In the future maybe core Mercurial could be extended to support this, but I think this independently makes sense in hg-git.
-
Siddharth Agarwal authored
Again, no direct impact in stock hg-git, but super useful for extensions.
-
Siddharth Agarwal authored
This actually has no direct impact here, but it allows extensions to customize the list of filtered refs and be sure of the order in which they'll be processed.
-
- Oct 29, 2014
-
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
The comment was actually incorrect -- we only used to care about bookmarks. Now we also care about tags.
-
Siddharth Agarwal authored
This also means we get to clean up a lot of the code around here. It isn't really feasible to break this up into several commits because the assumptions in the old calling code are too closely tied to the old local_heads() way of doing things.
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
This is a replacement for local_heads and code duplication around it. Centralizing all this logic also makes it much easier for extensions to define other sorts of refs.
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
There was previously an attempt to handle this but no test coverage.
-
- Oct 28, 2014
-
-
Siddharth Agarwal authored
-
- Oct 29, 2014
-
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
This allows extensions to add other sources of git refs. The returned git ref is currently unused -- the following patch will use it.
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
It doesn't change between iterations of the generator expression, and it's non-trivial to calculate.
-
Siddharth Agarwal authored
The list comprehension is unnecessary.
-
Siddharth Agarwal authored
-
- Oct 16, 2014
-
-
Siddharth Agarwal authored
This is set again just a few lines above.
-
Siddharth Agarwal authored
Using False for this is just weird.
-
- Oct 23, 2014
-
-
Siddharth Agarwal authored
Because of the previous patches, refs can never be None at this point.
-
Siddharth Agarwal authored
All this function's callers now pass in all arguments.
-
Siddharth Agarwal authored
This matches the way the other callers call import_git_objects.
-
- Oct 15, 2014
-
-
Siddharth Agarwal authored
This function doesn't depend on self at all, so moving it to git2hg is straightforward.
-
Siddharth Agarwal authored
This is preparation for upcoming changes to find_incoming that will allow it to import certain Git branches as Mercurial named branches.
-
Siddharth Agarwal authored
This is preparation for upcoming changes to find_incoming that will allow it to import certain Git branches as Mercurial named branches.
-
Siddharth Agarwal authored
-
Siddharth Agarwal authored
The removed comment is irrelevant, and the second one confused me for a while.
-