Commit Graph

8 Commits

Author SHA1 Message Date
Siddharth Agarwal
08d2cd6694 git_handler: move extract_hg_metadata into git2hg
This function doesn't depend on self at all, so moving it to git2hg is
straightforward.
2014-10-15 16:54:50 -07:00
Siddharth Agarwal
e38779118a git2hg.find_incoming: move graph traversal into a function
This is preparation for upcoming changes to find_incoming that will allow it to
import certain Git branches as Mercurial named branches.
2014-10-15 14:21:09 -07:00
Siddharth Agarwal
39849eaa29 git2hg.find_incoming: move head-finding code into a function
This is preparation for upcoming changes to find_incoming that will allow it to
import certain Git branches as Mercurial named branches.
2014-10-15 12:22:03 -07:00
Siddharth Agarwal
4ab87d107f git2hg.find_incoming: drop unused 'seen' set 2014-10-15 11:52:25 -07:00
Siddharth Agarwal
33da556b19 git2hg.find_incoming: drop a comment and clarify another
The removed comment is irrelevant, and the second one confused me for a while.
2014-10-15 11:41:44 -07:00
Siddharth Agarwal
759a84820e git2hg.find_incoming: drop unnecessary if statement 2014-10-15 11:40:12 -07:00
Siddharth Agarwal
b61a1ae843 git2hg: return a struct from find_incoming
We're going to return more data from find_incoming soon. Make that easier than
parsing a tuple.
2014-10-14 16:35:37 -07:00
Siddharth Agarwal
27bf2140b3 git_handler: move get_git_incoming to a separate module
git_handler's getting far too big, and we're going to add some more git-to-hg
specific logic soon, so now seems like a good time to add a new module.
2014-10-14 15:54:58 -07:00