Skip to content
Snippets Groups Projects
  1. Aug 01, 2010
  2. Jul 25, 2010
  3. Jul 30, 2010
  4. Jul 10, 2010
    • Gilles Moris's avatar
      qpush --move: move the right patch even with comment lines · 4f9dfb54
      Gilles Moris authored
      88fc876a4833 caused that we find the index of the moving patch in self.series
      but look it up in self.full_series. The difference between these is that
      full_series also contains comment lines, and we thus moved the wrong patch.
      
      Use back self.full_series to find the moving patch, but take care of striping
      the patch guard markers before comparing the patch name. Test cases have been
      added for comments and empty lines in self.full_series, and for the case of
      guarded patches.
      
      Original patch contributed by Mads Kiilerich <mads@kiilerich.com>
      4f9dfb54
  5. Jul 31, 2010
  6. Jul 30, 2010
  7. Jul 24, 2010
  8. Jul 27, 2010
  9. Jul 26, 2010
  10. Jul 21, 2010
    • kiilerix's avatar
      hgwebdir: allow pure relative globs in paths · 8f8a7976
      kiilerix authored
      This allows the (to me, in some setups) obvious configuration:
        [paths]
        / = *
      or
        / = **
      
      Relative paths used to work with [collections] even though it isn't documented.
      Perhaps it should be documented?
      8f8a7976
  11. Jul 22, 2010
  12. Jul 23, 2010
  13. Jul 22, 2010
  14. Jul 12, 2010
  15. Jul 21, 2010
  16. Jul 22, 2010
  17. Jul 21, 2010
  18. Jul 19, 2010
    • Greg Ward's avatar
      transplant: crash if repo.commit() finds nothing to commit · 79231258
      Greg Ward authored
      (makes issue2135, issue2264 more obvious, but does nothing to fix
      either one)
      
      This seems to happen in two distinct cases:
        * patch.patch() claims success but changes nothing (e.g.
          the transplanted changeset adds an empty file that already
          exists)
        * patch.patch() makes changes, but repo.status() fails to report them
      
      Both of these seem like bugs in other parts of Mercurial, so arguably
      it's not transplant's job to detect the failure to commit.  However:
        * detecting the problem as soon as possible is desirable
        * it prevents a more obscure crash later, in transplants.write()
        * there might be other lurking (or future) bugs that cause
          repo.commit() to do nothing
      
      Also, in the case of issue2264 (source changesets silently dropped by
      transplant), the only way to spot the problem currently is the crash
      in transplants.write().  Failure to transplant a patch should abort
      immediately, whether it's user error (patch does not apply) or a
      Mercurial bug (e.g. repo.status() failing to report changes).
      79231258
  19. Jul 20, 2010
  20. Jul 13, 2010
  21. Jul 20, 2010
    • Greg Ward's avatar
      inotify: make inotifydirstate.status() returns a tuple of lists. · 68a30dae
      Greg Ward authored
      This makes it consistent with dirstate.status(), which is important if
      there are other extensions messing with the output of status().  Those
      extensions can safely assume that dirstate.status() returns a tuple of
      lists, because its docstring says it does.  But
      inotifystatus.dirstate() returns a list of lists, which can break
      those other extensions.
      68a30dae
  22. Jul 14, 2010
  23. Jul 17, 2010
    • Katsunori FUJIWARA's avatar
      i18n: use encoding.colwidth() for correct column width · 4f5a6df2
      Katsunori FUJIWARA authored
      Some encoding and language combinations (e.g.: UTF-8 and Japanese)
      cause encoding characters into sequence of bytes more than column
      width of them.
      
      So, encoding.colwidth() should be applied instread of len() on i18n
      strings.
      
      In addition to it, formatting by '%*s'/'%-*s' also uses "number of
      bytes" to calculate space padding size, and should be fixed, too.
      4f5a6df2
  24. Jul 16, 2010
  25. Jul 15, 2010
Loading