Skip to content
Snippets Groups Projects
  1. Dec 02, 2018
  2. Nov 29, 2017
  3. Feb 07, 2018
  4. Feb 21, 2018
  5. Feb 07, 2018
  6. Feb 06, 2018
  7. Nov 30, 2017
  8. Dec 02, 2017
  9. Sep 05, 2016
  10. Nov 24, 2017
  11. Nov 20, 2017
  12. 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
  13. Nov 02, 2017
  14. Oct 24, 2017
  15. Oct 23, 2017
  16. Aug 17, 2017
  17. 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
  18. Aug 10, 2017
  19. Aug 04, 2017
  20. Jul 24, 2017
  21. May 22, 2017
  22. 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
  23. Jan 08, 2016
  24. 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
  25. Sep 12, 2016
  26. 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
  27. Apr 20, 2016
  28. Feb 04, 2016
  29. Feb 02, 2016
  30. Jan 14, 2016
  31. Dec 31, 2015
  32. Oct 16, 2015
Loading