Skip to content
Snippets Groups Projects
  1. Nov 22, 2019
  2. Mar 05, 2020
  3. Dec 22, 2019
  4. Aug 01, 2019
  5. Feb 23, 2019
  6. Dec 02, 2018
  7. Nov 29, 2017
  8. Feb 07, 2018
  9. Feb 21, 2018
  10. Feb 07, 2018
  11. Feb 06, 2018
  12. Nov 30, 2017
  13. Dec 02, 2017
  14. Sep 05, 2016
  15. Nov 24, 2017
  16. Nov 20, 2017
  17. May 15, 2015
    • Sean Farley's avatar
      fetch: mark remote HEAD as public phase · a70c1f6c
      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.
      a70c1f6c
  18. Nov 02, 2017
  19. Oct 24, 2017
  20. Oct 23, 2017
  21. Aug 17, 2017
  22. Aug 04, 2017
    • Katsunori FUJIWARA's avatar
      gitdirstate: show pattern error in hgignore file as expected · cf982a23
      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
      cf982a23
  23. Aug 10, 2017
  24. Aug 04, 2017
  25. Jul 24, 2017
  26. May 22, 2017
  27. Dec 18, 2016
    • Gregory Szorc's avatar
      tests: add tests for git.findcopiesharder · dd5afdfe
      Gregory Szorc authored
      Previously, no explicit tests existed for this feature.
      
      The added tests demonstrate that git.findcopiesharder results in
      copy metadata being added to changesets adding files that were
      unmodified by that changeset.
      dd5afdfe
  28. Jan 08, 2016
  29. Oct 06, 2016
    • Sietse Brouwer's avatar
      revset_gitnode: allow abbreviated hashes · a128b9a5
      Sietse Brouwer authored
      The previous implementation only allowed passing 40-hexdigit hashes or
      12-hexdigit abbreviations to `gitnode(hash)`. Shorter or longer hashes
      were accepted, but failed silently. With this fix, any unambiguous
      abbreviation is accepted. `gitnode(a5b)` selects the revision whose Git hash
      starts with `a5b`, if there is one, and aborts if there are several.
      a128b9a5
  30. Sep 12, 2016
  31. Sep 03, 2016
    • Sean Farley's avatar
      gitdirstate: only wrap for hg-git repos · 9c15c890
      Sean Farley authored
      Previously, if a user enables hg-git and in a non-git repo (i.e.
      hg-only) they have a .gitignore, then hg-git will try to parse that. I
      consider this a bug and a bad performance regression for what should be
      a no-op.
      9c15c890
  32. Apr 20, 2016
Loading