Skip to content
Snippets Groups Projects
  1. Dec 22, 2013
  2. Dec 15, 2013
  3. Dec 14, 2013
  4. Dec 13, 2013
  5. Dec 03, 2013
  6. Nov 27, 2013
  7. Oct 05, 2013
  8. Jun 26, 2012
  9. Oct 05, 2013
    • durin42's avatar
      overlays: fix incoming support for hg 2.8 · bf8518b0
      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.)
      bf8518b0
  10. Sep 17, 2013
  11. Dec 11, 2012
  12. Sep 13, 2013
  13. Aug 28, 2013
  14. Aug 12, 2013
  15. Jul 10, 2013
  16. Jul 01, 2013
  17. Apr 14, 2013
    • Gregory Szorc's avatar
      Only export modified Git trees · 792955be
      Gregory Szorc authored
      Previously, we emitted every Git tree when updating between Mercurial
      changesets. With this patch, we now only emit Git trees that changed. A
      side-effect of the implementation is that we now only update in-memory
      Git trees objects that changed. Before, we always touched Git trees,
      invalidating them in the process and causing Dulwich to recalculate
      their SHA-1. Profiling revealed this to be expensive and removing the
      extra calculation shows a nice performance win.
      
      Another optimization is to not sort the order that changed paths are
      processed in. Previously, we sorted by length, longest to shortest.
      Profiling revealed that the sorts took a non-trivial amount of time.
      While sorted execution resulted in likely idempotent behavior, it
      shouldn't be strictly required.
      
      On the author's machine, conversion of the Mercurial repository itself
      decreased from ~493s to ~333s. Even more impressive is conversion of
      Firefox's main repository (which is considerably larger). Converting the
      first 200 revisions of that repository decreased from ~152s to ~42s.
      792955be
  18. Apr 03, 2013
  19. Mar 20, 2013
  20. Mar 24, 2013
  21. Feb 07, 2013
  22. Feb 05, 2013
    • Hal Wine's avatar
      scrub bad timezone values before dulwich sees them · ce6ad4c0
      Hal Wine authored
      If dulwich is presented with a "sub minute" timezone offset, it throws
      an exception (see tests/test-timezone.t). This patch rounds the timezone
      down to the next minute before passing the value to dulwich.
      ce6ad4c0
  23. Jan 06, 2013
    • David M. Carr's avatar
      push: provide better output about changed references (issue #64) · a6b7ad53
      David M. Carr authored
      As pointed out by l33t, Hg-Git's output for push doesn't currently do a very
      good job of telling the user what happened.  My previous changes in this area
      had moved some of the output from status to note, making it only show if
      --verbose was specified.  However, I hadn't realized at the time that the
      reference information (though overly verbose) was providing a valueable purpose
      that otherwise wasn't met; telling the user that a remote reference had changed.
      
      This changeset makes it so that:
      *   default output will include simple messages like "adding reference
          refs/heads/feature" and "updating reference refs/heads/master" (omitting any
          mention of unchanged references)
      *   verbose output will include more detailed messages like "adding reference
          default::refs/heads/feature => GIT:aba43c" and "updating reference
          default::refs/heads/master => GIT:aba43c" (omitting any mention of unchanged
          references)
      *   debug output will include the detailed output like in verbose, but
          addtionally will include messages like "unchanged reference
          default::refs/heads/other => GIT:aba43c"
      
      https://bitbucket.org/durin42/hg-git/issue/64/push-confirmation
      a6b7ad53
Loading