Skip to content
Snippets Groups Projects
  1. Dec 31, 2015
  2. Dec 30, 2015
  3. Dec 29, 2015
  4. Dec 14, 2015
  5. Dec 03, 2015
  6. Oct 29, 2015
  7. Dec 01, 2015
  8. Nov 25, 2015
    • durin42's avatar
      git_handler: work around dulwich using unicode for ref names · a593069575bb
      durin42 authored
      Dulwich treats ref names internally as unicode strings (probably
      because of Python 3?), which means that at some points it tries to do
      os.path.join between the repo path and the unicode of the ref name,
      which fails miserably if we construct the repo with a str and not a
      unicode. Kludge around this problem.
      
      Fixes issue 172.
      a593069575bb
  9. Nov 13, 2015
  10. Nov 09, 2015
  11. Oct 26, 2015
    • Durham Goode's avatar
      push: fix exchangepush wrapping · d278f6d82a06
      Durham Goode authored
      Upstream added opargs to exchange.push and uses it as kwargs to the
      pushoperation constructor (16e69e6b357b). There was an attempt to fix this in
      hggit (c85c28fbc8a5) but it passes the exchange.push kwargs directly to
      pushoperation(), where we actually need to pull out the opargs and pass them as
      kwargs.
      d278f6d82a06
  12. Oct 19, 2015
  13. Oct 16, 2015
  14. Oct 15, 2015
    • Sean Farley's avatar
      hggit: adapt push wrapper function for recent hg · c85c28fbc8a5
      Sean Farley authored
      We can just accept-and-forward kwargs, which should be nicely
      futureproof for a while.
      c85c28fbc8a5
    • Sean Farley's avatar
      init: wrap hgutil.url so that we can use isgitsshuri · e1117014036c
      Sean Farley authored
      Previously, cloning from a git ssh uri (e.g. git@github.com:user/repo.git)
      would prepend the local file path because Mercurial classifies this as a path
      (since there is no scheme at the beginning of the string). This patch fixes
      that by doing the same logic as before in hgutil.url so that the correct hgrc
      path is written.
      e1117014036c
  15. Sep 24, 2015
  16. Aug 25, 2015
    • Durham Goode's avatar
      paths: mark git repos as valid paths · f05962b0e78a
      Durham Goode authored
      The latest version of Mercurial validates that a path contains the .hg
      directory. This breaks when pulling/pushing to git repos.
      
      This patch makes a gitrepo a valid path as well.
      f05962b0e78a
    • Durham Goode's avatar
      paths: refactor gitdir detection to a function · f7d0175264ce
      Durham Goode authored
      Refactors the logic that decides if a local directory is a git directory into a
      separate function. This will let us use it later on to integrate with
      Mercurial's new paths component.
      f7d0175264ce
  17. Sep 24, 2015
  18. May 14, 2015
  19. May 15, 2015
  20. Apr 27, 2015
  21. Sep 24, 2015
    • Sean Farley's avatar
      refs: avoid using dulwich to load refs · a12e11d9fb11
      Sean Farley authored
      We avoid using dulwich's refs method because it is incredibly slow. On a repo
      with a few hundred branches and a few thousand tags, dulwich took about 200ms
      to load everything.
      
      This patch only traveses the remote ref directory and cuts that time down to
      about 50ms.
      a12e11d9fb11
  22. May 17, 2015
    • Sean Farley's avatar
      refs: use dulwich to read remote refs · 1a1d90e38651
      Sean Farley authored
      It is unclear to me why we keep a file (which can become out of sync) of remote
      refs instead of just using dulwich. This caught a missing remote ref in the
      test suite.
      1a1d90e38651
Loading