Skip to content
Snippets Groups Projects
  1. Sep 21, 2010
  2. Sep 20, 2010
  3. Sep 17, 2010
  4. Sep 20, 2010
    • Martin Geisler's avatar
      archive: set date to 1980 for very old zip files · 381f131220ad
      Martin Geisler authored
      The zip file format stores the date using "MS-DOS format" which
      apparently means that they use 1980 as their epoch. Python's zipfile
      module emits deprecation warnings of this form
      
        /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: struct
        integer overflow masking is deprecated
          self.fp.write(zinfo.FileHeader())
        /usr/lib/python2.6/zipfile.py:1108: DeprecationWarning: 'H' format
        requires 0 <= number <= 65535
          self.fp.write(zinfo.FileHeader())
        /home/mg/src/mercurial-crew/mercurial/archival.py:169:
        DeprecationWarning: struct integer overflow masking is deprecated
          self.z.close()
        /home/mg/src/mercurial-crew/mercurial/archival.py:169:
        DeprecationWarning: 'H' format requires 0 <= number <= 65535
          self.z.close()
      
      when it is given such old timestamps. This fixes this by silently
      clamping the date to 1980.
      381f131220ad
  5. Sep 17, 2010
    • Steve Borho's avatar
      test-eol-update: record new results as correct · ed639917c825
      Steve Borho authored
      Changeset 0852da25a31b changed the result of this test. The 'hg update 0'
      command, which causes a merge of modified a.txt, now leaves a.txt in the
      EOLN format specified by .hgeol as it was committed in revision 0.
      
      Previously, it used the .hgeol contents from the working directory before the
      update.
      ed639917c825
  6. Sep 16, 2010
  7. Sep 15, 2010
    • Steve Borho's avatar
      eol: setup the repo.ui in reposetup() · 0852da25a31b
      Steve Borho authored
      This fixes problems some have reported using the eol extension
      together with TortoiseHg.  It ensures the ui associated with the
      repository has the preupdate.eol hook configured.
      0852da25a31b
  8. Sep 14, 2010
  9. Sep 11, 2010
  10. Sep 13, 2010
  11. Sep 10, 2010
    • Brodie Rao's avatar
      convert/darcs: handle non-ASCII metadata in darcs changelog (issue2354) · 4481f8a93c7a
      Brodie Rao authored
      Given a commit author or message with non-ASCII characters in a darcs
      repo, convert would raise a UnicodeEncodeError when adding changesets
      to the hg changelog.
      
      This happened because etree returns back unicode objects for any text
      it can't encode into ASCII. convert was passing these objects to
      changelog.add(), which would then attempt encoding.fromlocal() on
      them.
      
      This patch ensures converter_source.recode() is called on each piece
      of commit data returned by etree.
      
      (Also note that darcs is currently encoding agnostic and will print
      out whatever is in a patch's metadata byte-for-byte, even in the XML
      changelog.)
      4481f8a93c7a
    • Martin Geisler's avatar
      merge with i18n-stable · bf2afc4bbbeb
      Martin Geisler authored
      bf2afc4bbbeb
  12. Sep 07, 2010
  13. Aug 27, 2010
  14. Aug 24, 2010
  15. Aug 21, 2010
  16. Aug 20, 2010
  17. Aug 21, 2010
  18. Sep 10, 2010
  19. Sep 09, 2010
Loading