Permalink
Commits on Feb 7, 2012
  1. Don't look up "HOME" environment variable unconditionally to avoid Ke…

    kankri committed Feb 7, 2012
    …yError
    
    if it's not defined, like on Windows which usually doesn't have "HOME", but
    "HOMEDRIVE" and "HOMEPATH" instead.
Commits on Jan 23, 2012
  1. $HOME is now explicitly specified for tests that use it to read

    jelmer committed Jan 23, 2012
    ``~/.gitconfig``, to prevent test isolation issues.
    
    Eventually this should probably happen in a more structural manner,
    by e.g. using a base TestCase class that always overrides $HOME.
Commits on Jan 21, 2012
  1. Open 0.8.4.

    jelmer committed Jan 21, 2012
  2. Release 0.8.3.

    jelmer committed Jan 21, 2012
Commits on Jan 18, 2012
  1. Close all open file handles in the test case

    kankri committed Jan 18, 2012
      dulwich.tests.test_object_store.DiskObjectStoreTests:test_add_thin_pack
    
    to avoid
    
      WindowsError: [Error 32] The process cannot access the file because it is
      being used by another process: '...\\temp\\tmpdqhxlw\\pack\\pack-08ff98a2737425627a64fab11a4a5c53ed26bf9a.idx'
    
    on Windows.
    
    There should be DiskObjectStore.close() to make this practical!
  2. Fix incorrect read/write handling in "object_store.py".

    kankri committed Jan 18, 2012
    When using C stdio library, the stream must be flushed or repositioned before
    switching from write operations to read operations or vv. This applies to
    CPython as well since "File objects are implemented using C’s stdio package".
    http://docs.python.org/library/stdtypes.html#file-objects
    
    See also http://bugs.python.org/issue3207.
    
    DiskObjectStore._complete_thin_pack() didn't follow these rules which made the
    test
    
      dulwich.tests.test_object_store.DiskObjectStoreTests:test_add_thin_pack
    
    fail with
    
      IOError: [Errno 0] Error
    
    on Windows.
  3. Ugly fix for a doctest in "docs/tutorial/repo.txt" to account for dif…

    kankri committed Jan 18, 2012
    …ferent
    
    file path separators.
Commits on Jan 17, 2012
  1. Use platform-specific file path separators to avoid tests

    kankri committed Jan 17, 2012
      dulwich.tests.test_web.DumbHandlersTestCase:test_get_idx_file
      dulwich.tests.test_web.DumbHandlersTestCase:test_get_pack_file
    
    failing on Windows with "File not found" error.
  2. Use universal newlines in subprocess output to prevent tests

    kankri committed Jan 17, 2012
      dulwich.tests.test_blackbox.GitReceivePackTests:test_missing_arg
      dulwich.tests.test_blackbox.GitUploadPackTests:test_missing_arg
    
    to fail because of mismatched line terminators on Windows.
  3. Do not delete the current working directory to avoid:

    kankri committed Jan 17, 2012
        WindowsError: [Error 32] The process cannot access the file because it
        is being used by another process: '...'
  4. Windows doesn't have "posix" module, use "os" instead. Otherwise the …

    Risto Kankkunen committed Jan 17, 2012
    …test suite fails to run even a single test.
  5. Add a docstring for S_ISGITLINK.

    jelmer committed Jan 17, 2012
Commits on Jan 5, 2012
Commits on Jan 4, 2012
  1. Fix typo.

    jelmer committed Jan 4, 2012
  2. Add 'make check-tutorial'.

    jelmer committed Jan 4, 2012
  3. Document return types.

    jelmer committed Jan 4, 2012
  4. Add some docstrings.

    jelmer committed Jan 4, 2012
Commits on Dec 29, 2011
Commits on Dec 28, 2011
  1. Provide Config.get_boolean.

    jelmer committed Dec 28, 2011