Skip to content
Snippets Groups Projects
  1. Feb 03, 2012
    • Jim Hague's avatar
      bdiff: fix malloc(0) issue in fixws() · 8134ec8627e7
      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.
      8134ec8627e7
  2. Feb 06, 2012
    • Katsunori FUJIWARA's avatar
      forget: show warning messages for forgetting in subrepo correctly · f11eee00c652
      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():
                 ....
      f11eee00c652
  3. Feb 04, 2012
    • Jim Hague's avatar
      tests: fix command line overflow on ksh · f680ed10e2c4
      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>".
      f680ed10e2c4
  4. Feb 05, 2012
  5. Feb 03, 2012
  6. Feb 01, 2012
  7. Jan 31, 2012
  8. Jan 30, 2012
  9. Feb 01, 2012
  10. Jan 31, 2012
  11. Jan 30, 2012
  12. Jan 29, 2012
  13. Jan 30, 2012
Loading