Skip to content
Snippets Groups Projects
  1. Jan 02, 2016
  2. Dec 31, 2015
    • durin42's avatar
      git_handler: work around dulwich using unicode for ref names · afea0e32
      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.
      
      This is a roll-forward of a593069575bb, which should be valid now that
      the previous change defends against accidentally writing unicode tags
      inside the templater.
      afea0e32
    • durin42's avatar
      hgrepo: ensure all git-origin tags are bytes · 5d45e0ed
      durin42 authored
      If we don't do this we might end up with unicodes being written using
      ui, which then breaks in popbuffer in test-encoding.t. This appears to
      be an academic concern until we start passing unicode paths to git
      repos, which we need to do in order to resolve some other problems. Yay.
      5d45e0ed
  3. Dec 08, 2015
  4. Dec 31, 2015
  5. Dec 30, 2015
  6. Dec 29, 2015
  7. Dec 14, 2015
  8. Dec 03, 2015
  9. Oct 29, 2015
  10. Dec 01, 2015
  11. Nov 25, 2015
    • durin42's avatar
      git_handler: work around dulwich using unicode for ref names · a5930695
      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.
      a5930695
  12. Nov 13, 2015
  13. Nov 09, 2015
  14. Oct 26, 2015
    • Durham Goode's avatar
      push: fix exchangepush wrapping · d278f6d8
      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.
      d278f6d8
  15. Oct 19, 2015
  16. Oct 16, 2015
  17. Oct 15, 2015
    • Sean Farley's avatar
      hggit: adapt push wrapper function for recent hg · c85c28fb
      Sean Farley authored
      We can just accept-and-forward kwargs, which should be nicely
      futureproof for a while.
      c85c28fb
    • Sean Farley's avatar
      init: wrap hgutil.url so that we can use isgitsshuri · e1117014
      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.
      e1117014
Loading