Skip to content
Snippets Groups Projects
  1. Nov 25, 2017
  2. Nov 02, 2017
  3. Dec 24, 2015
  4. May 15, 2015
    • Sean Farley's avatar
      fetch: mark remote HEAD as public phase · a70c1f6caead
      Sean Farley authored
      To help improve the speed Mercurial operations, we shouldn't leave the whole
      repository in the draft phase. The only hueristic git has for 'public' is
      remote HEAD. Therefore, if remote HEAD exists then we use it to mark the
      corresponding local commit as public.
      
      For now, we'll put this behind a config flag for easier rollback.
      a70c1f6caead
  5. Nov 02, 2017
  6. Oct 24, 2017
  7. Nov 02, 2017
  8. Oct 24, 2017
  9. Nov 02, 2017
  10. Oct 24, 2017
  11. Oct 23, 2017
  12. 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
  13. Oct 01, 2017
  14. Aug 17, 2017
  15. Aug 10, 2017
  16. 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
  17. Aug 10, 2017
  18. Aug 04, 2017
Loading