- Feb 13, 2014
-
-
Siddharth Agarwal authored
An upcoming patch will introduce similar variables for self._ctx. This helps disambiguate.
-
Siddharth Agarwal authored
This code will be used in multiple contexts in an upcoming patch.
-
Siddharth Agarwal authored
This will be used by _handle_subrepos in an upcoming patch.
-
- Feb 16, 2014
-
-
Siddharth Agarwal authored
-
- Feb 13, 2014
-
-
Siddharth Agarwal authored
We now also test: - removing one submodule but not all of them - replacing a submodule with a file - replacing a file with a submodule
-
- Feb 14, 2014
-
-
Siddharth Agarwal authored
Before this patch, in the git to hg conversion, .hgsubstate once created is never deleted, even if no submodules are any longer present. This is broken state, as shown by the test for which the SHA changes. Fix that by looking at the diff instead of just what submodules are present. Since 'gitlinks' now contains *changed* gitlinks, not *all* gitlinks, it no longer makes sense to gate gitmodules checks on that. This patch simply demonstrates that the test was broken; an upcoming patch will introduce more tests. Bonus: this also makes the import process faster because we no longer need to walk the entire tree to collect gitlinks. This will cause the SHAs of repos that have submodules added and then removed to change.
-
- Feb 15, 2014
-
-
Siddharth Agarwal authored
Also drop Mercurial < 1.5 support.
-
- Feb 14, 2014
-
-
Siddharth Agarwal authored
gparents will be used to compute .hgsubstate in an upcoming patch.
-
Siddharth Agarwal authored
Currently, to figure out which gitlinks are in a repository we walk through the entire tree. This patch lets us use get_files_changed to detect which gitlinks have changed.
-
- Feb 13, 2014
-
-
Siddharth Agarwal authored
There's no benefit to calling rev().
-
Siddharth Agarwal authored
Storing a ctx enables values like manifests to be cached on the context.
-
Siddharth Agarwal authored
An upcoming patch will introduce a new field called _ctx. This helps prevent confusion.
-
Dov Feldstern authored
-
- Feb 12, 2014
-
-
Dov Feldstern authored
This is an adaptation of the original patch submitted in [1], without the monkey-patching: a patch has been committed in dulwich [2] which allows clients to supply a custom urllib2 "opener" for opening the url; here, we provide such an opener, which provides authentication information obtained from the hg config. [1] https://groups.google.com/forum/#!topic/hg-git/9clPr1wdtiw [2] https://bugs.launchpad.net/dulwich/+bug/909037
-
Siddharth Agarwal authored
Consider two octopus merges, one of which is a child of the other. Without this patch, get_git_parents() called on the second octopus merge checks that each p1 is neither in the middle of an octopus merge nor the end of it. Since the end of the first octopus merge is a p1 of the second one, this asserts. Change the sanity check to only make sure that p1 is not in the middle of an octopus merge.
-
- Feb 07, 2014
-
-
Jordi Gutiérrez Hermoso authored
When handling OSError while visiting subdirectories, we're checking errno, but we never imported this module. This small patch fixes this.
-
- Dec 22, 2013
-
- Dec 15, 2013
-
-
durin42 authored
-
anatoly techtonik authored
-
- Dec 14, 2013
- Dec 13, 2013
- Dec 03, 2013
-
-
Jordi Gutiérrez Hermoso authored
-
- Nov 27, 2013
-
-
Ben Kehoe authored
-
- Oct 05, 2013
-
-
Augie Fackler authored
README: add URLs of homepage, primary hg repo, and git mirror repo
-
- Jun 26, 2012
-
-
Brian Warner authored
-
- Oct 05, 2013
-
-
durin42 authored
This was crafted mostly via a bunch of aimless flailing in the code. I'm pretty well convinced at this point that the incoming support needs to be rewritten slightly to behave properly in the new world order (specifically, the overlayrepo class probably should be subclassing localrepo, or else more directly reimplementing things instead of trying to forward methods.)
-
- Sep 17, 2013
-
-
durin42 authored
I've been waiting for dulwich upstream to fix this *and* for a test from domruf that's acceptable. Having gotten neither over a period of /months/, and having hit the bug myself, I'm moving on and accepting a patch without tests. This will likely break again, but hopefully before we'd break it dulwich will be fixed.
-
durin42 authored
-
durin42 authored
-
- Dec 11, 2012
-