Skip to content
Snippets Groups Projects
  1. Feb 08, 2012
    • Jim Hague's avatar
      tests: tighten checks for octal escapes in shell printf. · c6c9b83a
      Jim Hague authored
      printf on AIX default shell ksh (89) says \1 is an invalid escape. It insists
      on at least 2 digits. This causes failures in test-keyword.t and test-status.t.
      
      check-code.py already looks out for \NNN and recommends using Python
      for outputting octal values. Extend the check to \NN and \N and fix up
      resulting failures.
      c6c9b83a
  2. Feb 06, 2012
  3. Feb 04, 2012
  4. Feb 03, 2012
    • Jim Hague's avatar
      bdiff: fix malloc(0) issue in fixws() · 8134ec86
      Jim Hague authored
      If fixws() is called on a zero-length string, malloc(0) is called and
      expected to return a pointer. Which it does on e.g. Linux. AIX returns
      NULL, which it is also legal, but the malloc() is then assumed to have
      failed. So ensure a valid pointer is always returned.
      8134ec86
  5. Feb 06, 2012
    • Katsunori FUJIWARA's avatar
      forget: show warning messages for forgetting in subrepo correctly · f11eee00
      Katsunori FUJIWARA authored
      in 'cmdutil.forget()':
      
         for f in match.files():
             if match.exact(f) or not explicitonly:
                 ....
      
      is equal to:
      
         for f in match.files():
             if True:
                 ....
      
      because 'f' from 'match.files()' should 'match.exact(f)':
      
          - 'match.files()' returns 'self._files'
          - 'match.exact(f)' examines 'f in self._fmap',
          - 'self._fmap' of match is 'set(self._files)'
      
      then, 'explicitonly' wants to suppress warning messges, if it is true
      (= 'cmdutil.forget()' is invoked from 'subrepo.forget()').
      
      so, current code should be fixed as:
      
          if not explicitonly:
              for f in match.files():
                 ....
      f11eee00
  6. Feb 04, 2012
    • Jim Hague's avatar
      tests: fix command line overflow on ksh · f680ed10
      Jim Hague authored
      "<command> `hg manifest`" overflows the puny 1024 byte command line length
      limit on AIX default shell ksh. Replace with "hg manifest | xargs <command>".
      f680ed10
  7. Feb 05, 2012
  8. Feb 03, 2012
  9. Feb 01, 2012
  10. Jan 31, 2012
  11. Jan 30, 2012
  12. Feb 01, 2012
  13. Jan 31, 2012
  14. Jan 30, 2012
  15. Jan 29, 2012
Loading