Skip to content
Snippets Groups Projects
  1. Feb 19, 2014
  2. Feb 16, 2014
  3. Feb 13, 2014
  4. Feb 16, 2014
  5. Feb 13, 2014
  6. Feb 14, 2014
    • Siddharth Agarwal's avatar
      git_handler: fix hgsubstate generation · f492e475
      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.
      f492e475
  7. Feb 15, 2014
  8. Feb 14, 2014
  9. Feb 13, 2014
  10. Feb 12, 2014
  11. Feb 07, 2014
  12. Dec 22, 2013
  13. Dec 15, 2013
  14. Dec 14, 2013
Loading