lp:~vcs-imports/dulwich/samv

Created by Jelmer Vernooij and last modified
Get this branch:
bzr branch lp:~vcs-imports/dulwich/samv

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
Dulwich
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at https://github.com/samv/dulwich.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-0 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 5 seconds — see the log

Recent revisions

1025. By Sam Vilain <email address hidden>

Fix thin pack support

It is advertised that thin packs are supported, but when fetched packs are
moved into the store, they are not resolved correctly. The add_thin_pack()
function must be used if we claim to support thin packs. It seems to have
a different calling convention to add_pack(), which is problematic. This
awkward solution involves keeping a memory buffer of all data read before
processing it all in one go. Ugly, but at least it works.

This broke another test which seems to be testing some kind of corner case,
which I couldn't figure out, so I just disabled it.

Fixes this failure during client.fetch:

Traceback (most recent call last):
  File "fetch.py", line 12, in <module>
    determine_wants=repo.object_store.determine_wants_all,
  File "/Users/svilain/src/dulwich/dulwich/client.py", line 206, in fetch
    commit()
  File "/Users/svilain/src/dulwich/dulwich/object_store.py", line 575, in commit
    return self.move_in_pack(path)
  File "/Users/svilain/src/dulwich/dulwich/object_store.py", line 549, in move_in_pack
    entries = p.sorted_entries()
  File "/Users/svilain/src/dulwich/dulwich/pack.py", line 1103, in sorted_entries
    ret = list(self.iterentries(progress=progress))
  File "/Users/svilain/src/dulwich/dulwich/pack.py", line 1091, in iterentries
    for i, result in enumerate(PackIndexer.for_pack_data(self)):
  File "/Users/svilain/src/dulwich/dulwich/pack.py", line 1238, in _walk_all_chains
    for result in self._walk_ref_chains():
  File "/Users/svilain/src/dulwich/dulwich/pack.py", line 1248, in _walk_ref_chains
    self._ensure_no_pending()
  File "/Users/svilain/src/dulwich/dulwich/pack.py", line 1244, in _ensure_no_pending
    raise KeyError([sha_to_hex(s) for s in self._pending_ref])
KeyError: ['acf3a3f561ca42ec4d9d6ab3513be4f7e54ae474', '7fbc71b8ecee8657791a5dc3829be4acbc091e1c', 'dafc470f73b1d6dfe0904c0d95cb4401e1cdd28e', 'efe2c9a04ba829d711d8c41ce3b58b9781f9c4d7', '43b8208987b474aa0d03e1b439556a21b18a0d3d']

1024. By Sam Vilain <email address hidden>

Add support for client init args in get_transport_and_path

If you want to pass arguments to the client construction, without re–
producing the logic in get_transport_and_path which decides on the
appropriate client class to use, you're pretty much out of luck. So,
accept and pass through keyword arguments.

1023. By Jelmer Vernooij

Fix python2.4 compatibility.

1022. By Jelmer Vernooij

Merge support for only negotiating capabilities that are also supported by the
server.

1021. By Jelmer Vernooij

Merge fix for formatting of 'extension not found' messages.

1020. By Jelmer Vernooij

Merge fix to call parent constructor rather than grandparent. Thanks, kankri.

1019. By Jelmer Vernooij

Some more docstrings.

1018. By Jelmer Vernooij

Options on the same line as sections in config files are now supported. #920553

1017. By Jelmer Vernooij

$HOME is now explicitly specified for tests that use it to read
``~/.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.

1016. By Jelmer Vernooij

Open 0.8.4.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers