Skip to content
Snippets Groups Projects
  1. Aug 05, 2011
    • Patrick Mezard's avatar
      http: strip credentials from urllib2 manager URIs (issue2885) · 0f1311e8
      Patrick Mezard authored
      urllib2 password manager does not strip credentials from URIs registered with
      add_password() and compare them with stripped URIs in find_password(). Remove
      credentials from URIs returned by util.url.authinfo(). It sometimes works when
      no port was specified as the URI host is registered too.
      0f1311e8
  2. Aug 04, 2011
    • Idan Kamara's avatar
      dispatch: don't rewrap aliases that have the same definition · f4b7be3f
      Idan Kamara authored
      Previously aliases that overrode existing commands would wrap the old alias
      on every call to dispatch() (twice actually), which is an obvious re-entrancy
      issue for things like the command server or TortoiseHG.
      f4b7be3f
    • kiilerix's avatar
      url: really handle urls of the form file:///c:/foo/bar/ correctly · e89f62dc
      kiilerix authored
      28edd65000d9 made sure that paths that seemed to start with a windows drive
      letter would not get an extra leading slash.
      
      localpath should thus not try to handle this case by removing a leading slash,
      and this special handling is thus removed.
      
      (The localpath handling of this case was wrong anyway, because paths that look
      like they start with a windows drive letter can't have a leading slash.)
      
      A quick verification of this is to run 'hg id file:///c:/foo/bar/'.
      e89f62dc
  3. Aug 01, 2011
  4. Jul 30, 2011
  5. Aug 01, 2011
  6. Jul 31, 2011
  7. Jul 30, 2011
  8. Jul 28, 2011
  9. Jul 30, 2011
  10. Jul 27, 2011
  11. Jul 29, 2011
  12. Jul 31, 2011
  13. Jul 27, 2011
    • Andrew Pritchard's avatar
      setdiscovery: return anyincoming=False when remote's only head is nullid · 192e0268
      Andrew Pritchard authored
      This fixes (issue2907) a crash when using 'hg incoming --bundle' with an empty
      remote repo and a non-empty local repo.
      
      This also fixes an unreported bug that 'hg summary --remote' erroneously
      reports incoming changes when the remote repo is empty and the local is not.
      
      Also, add a test to make sure issue2907 stays fixed
      192e0268
  14. Jul 28, 2011
    • Katsunori FUJIWARA's avatar
      i18n: use UTF-8 string to lower filename for case collision check · 28e98a8b
      Katsunori FUJIWARA authored
      Some character sets, cp932 (known as Shift-JIS for Japanese) for
      example, use 0x41('A') - 0x5A('Z') and 0x61('a') - 0x7A('z') as second
      or later character.
      
      In such character set, case collision checking recognizes different
      files as CASEFOLDED same file, if filenames are treated as byte
      sequence.
      
      win32mbcs extension is not appropriate to handle this problem, because
      this problem can occur on other than Windows platform only if
      problematic character set is used.
      
      Callers of util.checkcase() use known ASCII filenames as last
      component of path, and string.lower() is not applied to directory part
      of path. So, util.checkcase() is kept intact, even though it applies
      string.lower() to filenames.
      28e98a8b
  15. Jul 22, 2011
  16. Jul 21, 2011
  17. Jul 22, 2011
  18. Jul 21, 2011
  19. Jul 19, 2011
  20. Jul 18, 2011
  21. Jul 16, 2011
  22. Jul 09, 2011
  23. Jul 15, 2011
  24. Jul 14, 2011
    • Idan Kamara's avatar
      cmdserver: take repo.baseui as our ui · bb2cffe8
      Idan Kamara authored
      The ui passed to server() is really repo.ui, that is it contains its local
      configuration as well.
      
      When running commands that use a different repo than the servers cached repo,
      we don't want to use that ui as the baseui for the new repo.
      bb2cffe8
  25. Jul 15, 2011
  26. Jul 14, 2011
  27. Jul 05, 2011
  28. Jul 13, 2011
Loading