Skip to content
Snippets Groups Projects
  1. Nov 02, 2017
  2. Oct 24, 2017
  3. Nov 02, 2017
  4. Oct 24, 2017
  5. Nov 02, 2017
  6. Oct 24, 2017
  7. Oct 23, 2017
  8. Oct 05, 2017
    • Durham Goode's avatar
      overlay: update changelogrevision · 6bb4c99362f0
      Durham Goode authored
      Upstream changed the representation of this structure, to make it not a named
      tuple. So let's update to match it. The tests caught this issue.
      6bb4c99362f0
    • Durham Goode's avatar
      context: update to work with upstream · 5821075b289a
      Durham Goode authored
      Some upstream code now relies on ctx.repo() to access the repo object, since
      hggit stored ctx.repo as a field instead of a function, that failed. Let's move
      it to be a function.
      
      For overlaychangectx we can't just store the repo in self._repo because that
      causes other parts of the base class to act differently and causes tests to
      fail, so we store it as a new field.
      5821075b289a
  9. Oct 01, 2017
  10. Aug 17, 2017
  11. Aug 10, 2017
  12. Aug 04, 2017
    • Katsunori FUJIWARA's avatar
      gitdirstate: show pattern error in hgignore file as expected · cf982a23e15c
      Katsunori FUJIWARA authored
      Before this revision, invalid pattern in hgignore file causes
      unintentional failure for UnboundLocalError of ignorefunc, if hggit is
      used with Mercurial 3.5 or later.
      
      In such case:
      
        - checking source of invalid pattern at failure uses "pats" list for
          hgignore files, but
      
        - "pats" list is empty, if ignoremod is None (= Mercurial 3.5 or later)
      
        - therefore, checking with matchmod.match() overlooks invalid pattern
      
      Then, "return ignorefunc" is executed without assignment to
      ignorefunc, and causes UnboundLocalError.
      
      To show pattern error in hgignore file as expected even with Mercurial
      3.5 or later, this revision puts '(FILE, ["include: FILE"])' tuples
      into "pats" (to avoid code duplication, putting into allpats is
      shared, too).
      
      This makes checking source of invalid pattern at failure work as
      expected for hgignore files.
      
      Fixes #197
      cf982a23e15c
  13. Aug 10, 2017
  14. Aug 04, 2017
  15. Aug 07, 2017
  16. Aug 06, 2017
  17. Aug 05, 2017
Loading