Skip to content
Snippets Groups Projects
  1. Feb 01, 2011
  2. Jan 29, 2011
  3. Jan 31, 2011
  4. Jan 28, 2011
    • kiilerix's avatar
      url: 'ssh known host'-like checking of fingerprints of HTTPS certificates · 8dc488df
      kiilerix authored
      Known fingerprints of HTTPS servers can now be configured in the
      hostfingerprints section. That makes it possible to verify the identify of web
      servers without configuring and trusting the CA chain.
      
      Limitations:
      * Portnumbers are ignored, just like with ordinary certificates.
      * Host name matching is case sensitive.
      8dc488df
  5. Jan 27, 2011
  6. Jan 24, 2011
  7. Dec 24, 2010
  8. Dec 23, 2010
  9. Jan 19, 2011
  10. Jan 27, 2011
  11. Jan 26, 2011
  12. Jan 22, 2011
    • Patrick Mezard's avatar
      subrepo: compare svn subrepo state to last committed revision · d0e0d3d4
      Patrick Mezard authored
      A subversion project revisions are a subset of the repository revisions, you
      can ask subversion to update a working directory from one revision to another
      without changing anything. Unfortunately, Mercurial will think the
      subrepository has changed and will commit it again. To avoid useless commits,
      we compare the subrepository state to its actual "parent" revision. To ensure
      ascending compatibility with existing subrepositories which might reference
      fake revisions, we also keep comparing with the subrepo working directory
      revision.
      
      NOTE: not sure if this should go in stable or not.
      d0e0d3d4
  13. Jan 21, 2011
  14. Jan 08, 2011
  15. Jan 04, 2011
  16. Jan 05, 2011
  17. Jan 02, 2011
  18. Jan 05, 2011
  19. Jan 02, 2011
  20. Dec 25, 2010
  21. Dec 31, 2010
  22. Jan 02, 2011
  23. Dec 28, 2010
  24. Dec 21, 2010
  25. Dec 20, 2010
  26. Dec 30, 2010
  27. Dec 29, 2010
  28. Dec 27, 2010
    • Adrian Buehlmann's avatar
      windows.rename: eliminate temp name race (issue2571) · 650314ed
      Adrian Buehlmann authored
      On Windows, os.rename reliably raises OSError with errno.EEXIST if the
      destination already exists (even on shares served by Samba).
      
      Windows does *not* silently overwrite the destination of a rename.
      
      So there is no need to first call os.path.exists on the chosen temp path.
      
      Trusting os.path.exists is actually harmful, since using it enables the
      following racy sequence of actions:
      
       1) os.path.exists(temp) returns False
       2) some evil other process creates a file with name temp
       3) os.rename(dst, temp) now fails because temp has been taken
      
      Not using os.path.exists and directly trying os.rename(dst, temp)
      eliminates this race.
      650314ed
  29. Dec 13, 2010
    • Adrian Buehlmann's avatar
      checknlink: use two testfiles (issue2543) · 5b83ab61
      Adrian Buehlmann authored
      Preventing file loss repository corruption (e.g. vanished changelog.i) when
      Mercurial pushes to repositories on Windows shares served by Samba.
      
      This is a workaround for Samba bug 7863, which is present in current latest
      stable Samba 3.5.6 and various prior versions down to 3.0.26a (the oldest one
      I tested).
      
      Of course this should be fixed in Samba, but there probably aren't that many
      other applications who use hardlinks that extensively and keep files open like
      Mercurial, so the pressure to fix this on Samba is probably not that high. And
      even if the Samba project should be able to fix their bug within a month or
      two, it will take quite some time until users upgrade their Samba installs.
      5b83ab61
  30. Dec 20, 2010
  31. Dec 23, 2010
  32. Dec 27, 2010
  33. Dec 22, 2010
  34. Dec 20, 2010
Loading