This instance will be upgraded to Heptapod 0.21.0rc2 on 2021-04-16 at 11:00 UTC+2 (a few minutes of down time)

  1. 21 Jul, 2020 1 commit
    • Manuel Jacob's avatar
      tests: port from nosetests to pytest · d843f9a62e6e
      Manuel Jacob authored
      Nosetests is not actively developed anymore. Pytest is actively developed and
      has a much larger ecosystem around it.
      Two features of pytest are particularly helpful for us:
      Pytest captures stdio by redirecting at the file descriptor-level instead of
      replacing sys.stdout. This is required for Mercurial, as it has its own
      reference to stdout. Before with nosetests, most output was silently swallowed.
      Pytest offers the `ALLOW_UNICODE` and `ALLOW_BYTES` options for doctests, making
      it much easier to make our docstrings Python 2- and Python 3-compatiable.
      During this patch, it was attempted to leave the structure of the test code
      similar to before instead of converting everything to idiomatic pytest code.
      Luckily, pytest implements enough interoperability for most of our test code.
  2. 05 Mar, 2020 1 commit
  3. 05 May, 2019 1 commit
  4. 23 Mar, 2019 1 commit
  5. 31 Dec, 2016 1 commit
    • Yuya Nishihara's avatar
      compat: update ui.ui() calls as per hg d83ca854fa21 · e37040555674
      Yuya Nishihara authored
      The following ui.ui() calls are not changed, which are obvious we don't want
      to load user settings:
       - version.liveversion()
       - doctests
       - error dialog called by thg and hgext3rd/
      I'm a little surprised that we still have lots of adhoc ui/repo instantiations.
  6. 25 Sep, 2016 1 commit
  7. 13 Sep, 2016 1 commit
  8. 26 Apr, 2016 1 commit
    • Yuya Nishihara's avatar
      repoagent: light-weight suspend of repository monitor while running commands · 0fef1c00a58e
      Yuya Nishihara authored
      Before, repository files were polled on command finished no matter if they
      were modified or not. This wasn't ideal for running read-only commands.
      This patch addresses the issue by not stopping QFileSystemWatcher while
      running commands. This way, we need to check repository changes only if
      QFileSystemWatcher detects changes or the watcher is disabled, which means
      we can avoid polling after revset query.
  9. 15 Aug, 2016 1 commit
  10. 12 Jun, 2015 1 commit
  11. 04 Oct, 2014 1 commit
  12. 10 Aug, 2014 2 commits
    • Yuya Nishihara's avatar
      repoagent: unify workingBranchChanged with repositoryChanged (fixes #2572) · d6f093791abc
      Yuya Nishihara authored
      Because of this change, the following models and widgets will notice the change
      of the working branch.  Some of them are not necessary, but they won't hurt:
       - BackoutDialog, MergeDialog and stand-alone RevDetailsDialog should notice
         the change of the working branch
       - BookmarkDialog, ResolveDialog, ShelveDialog and TagDialog will refresh data
       - stand-alone CommitDialog will update "undo" button state unnecessarily
       - PatchQueueModel and MQPatchesWidget will be modified later to listen only
         to MQ changes
       - RepoTreeModel (reporegistry) will update first-revision node unnecessarily
       - RepoWidget should recreate HgRepoListModel (issue #2572)
       - Workbench will trigger subrepo scan unnecessarily
    • Yuya Nishihara's avatar
      repoagent: add "flags" argument to repositoryChanged signal · 797fb54b583f
      Yuya Nishihara authored
      workingBranchChanged signal will be merged later.
  13. 11 Aug, 2014 1 commit
  14. 10 Aug, 2014 2 commits
  15. 13 Aug, 2014 1 commit
  16. 10 Aug, 2014 2 commits
  17. 13 Aug, 2014 1 commit
  18. 10 Aug, 2014 1 commit
  19. 19 Jul, 2014 2 commits
    • Yuya Nishihara's avatar
      repowatcher: invalidate cache if dirstate file is modified (fixes #3647) · 23f2e86ca6be
      Yuya Nishihara authored
      Since RepoWatcher did not detect changes of dirstate file, repo instance had
      stale cache after working-directory command.  This caused inconsistent state
      described in issue #3647.  In this case, StatusThread was able to see new
      dirstate, but the main repo instance still had stale dirstate.
      In a later version, change notification signals will be merged into one.
      For examle, RepoModel will listen to repositoryChanged signal in this way:
          def _onRepositoryChanged(self, flags):
              if flags & Changelog:
              elif flags & WorkingParent:
              elif flags & WorkingBranch:
    • Yuya Nishihara's avatar
      repoagent_test: create fresh clone for each test · cb4c8c02af5b
      Yuya Nishihara authored
      I'll add mutable tests later.
  20. 31 May, 2014 1 commit
  21. 20 May, 2014 1 commit
  22. 27 May, 2014 1 commit