Skip to content
Snippets Groups Projects
  1. Dec 23, 2019
  2. Mar 05, 2020
    • Manuel Jacob's avatar
      py3: use print as function · 7a13f6fa
      Manuel Jacob authored
      * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --fix=print --write {}`
      * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --doctests_only --fix=print --write {}`
      * remove extra newline at end of files introduced by last command
      * add `from __future__ import print_function` to Python files
      7a13f6fa
  3. Nov 22, 2019
  4. Oct 31, 2012
    • David M. Carr's avatar
      tests: add check for dulwich in test-url-parsing.py · daf3e44a
      David M. Carr authored
      Previously, if dulwich wasn't available, this test would fail with a traceback
      (example included below).  This changeset makes it so that the test will be
      skipped with an informative message if dulwich isn't available.
      
      Traceback (most recent call last):
        File "/Users/carrd/hg-repos/hg-git-queue/tests/test-url-parsing.py", line 6, in <module>
          from hggit.git_handler import GitHandler
        File "/Users/carrd/hg-repos/hg-git-queue/tests/../hggit/__init__.py", line 42, in <module>
          import gitrepo, hgrepo
        File "/Users/carrd/hg-repos/hg-git-queue/tests/../hggit/gitrepo.py", line 13, in <module>
          from git_handler import GitHandler
        File "/Users/carrd/hg-repos/hg-git-queue/tests/../hggit/git_handler.py", line 4, in <module>
          from dulwich.errors import HangupException, GitProtocolError, UpdateRefsError
      ImportError: No module named dulwich.errors
      daf3e44a
  5. Apr 21, 2012
  6. Jan 28, 2012
  7. Jul 13, 2011
  8. Jul 05, 2010
  9. Nov 23, 2009
  10. Oct 28, 2009
  11. Oct 20, 2009
Loading